Merge pull request #8 from Asrael/patch-1

Update initramfs_create
This commit is contained in:
Tomas-M
2016-07-20 13:13:12 +02:00
committed by GitHub
+1 -1
View File
@@ -74,7 +74,7 @@ copy_including_deps /$LMK/kernel/drivers/block/loop.*
copy_including_deps /$LMK/kernel/fs/fuse
copy_including_deps /$LMK/modules.*
find $INITRAMFS -name "*.ko.gz" | xargs gunzip
find $INITRAMFS -name "*.ko.gz" -exec gunzip {} \;
# trim modules.order file. Perhaps we could remove it entirely
MODULEORDER="$(cd "$INITRAMFS/$LMK/"; find -name "*.ko" | sed -r "s:^./::g" | tr "\n" "|" | sed -r "s:[.]:.:g")"