Merge pull request #8 from Asrael/patch-1

Update initramfs_create
pull/13/merge
Tomas-M 2016-07-20 13:13:12 +02:00 committed by GitHub
commit 9b7918c127
1 changed files with 1 additions and 1 deletions

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")"