Commit 0d30bbb7 authored by Kaarle Ritvanen's avatar Kaarle Ritvanen

update-kernel: fix fakeroot argument handling as per fix for #3500

parent 0b2bf3f5
......@@ -136,10 +136,10 @@ fi
TMPDIR=$(mktemp -d /tmp/$SCRIPT.XXXXXX)
ROOT=$TMPDIR/root
BOOT=$ROOT/boot
WRAPPER=eval
WRAPPER=
_exec() {
$WRAPPER "$1"
$WRAPPER "$@"
}
_apk() {
......@@ -199,10 +199,10 @@ MODIMG=$FLAVOR.modloop.squashfs
mkdir $MODLOOP $STAGING
cp -a $ROOT/lib/modules $MODLOOP
cp -a $ROOT/lib/firmware $MODLOOP/modules
_exec "mksquashfs $MODLOOP $STAGING/$MODIMG -comp xz"
_exec mksquashfs $MODLOOP "$STAGING/$MODIMG" -comp xz
_exec "mkinitfs -q -b $ROOT -F '$features base squashfs' \
-o '$STAGING/$FLAVOR.gz' '$KVER'"
_exec mkinitfs -q -b $ROOT -F "$features base squashfs" \
-o "$STAGING/$FLAVOR.gz" "$KVER"
cp "$BOOT/vmlinuz$KVER_FLAVOR" "$STAGING/$FLAVOR"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment