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 ...@@ -136,10 +136,10 @@ fi
TMPDIR=$(mktemp -d /tmp/$SCRIPT.XXXXXX) TMPDIR=$(mktemp -d /tmp/$SCRIPT.XXXXXX)
ROOT=$TMPDIR/root ROOT=$TMPDIR/root
BOOT=$ROOT/boot BOOT=$ROOT/boot
WRAPPER=eval WRAPPER=
_exec() { _exec() {
$WRAPPER "$1" $WRAPPER "$@"
} }
_apk() { _apk() {
...@@ -199,10 +199,10 @@ MODIMG=$FLAVOR.modloop.squashfs ...@@ -199,10 +199,10 @@ MODIMG=$FLAVOR.modloop.squashfs
mkdir $MODLOOP $STAGING mkdir $MODLOOP $STAGING
cp -a $ROOT/lib/modules $MODLOOP cp -a $ROOT/lib/modules $MODLOOP
cp -a $ROOT/lib/firmware $MODLOOP/modules 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' \ _exec mkinitfs -q -b $ROOT -F "$features base squashfs" \
-o '$STAGING/$FLAVOR.gz' '$KVER'" -o "$STAGING/$FLAVOR.gz" "$KVER"
cp "$BOOT/vmlinuz$KVER_FLAVOR" "$STAGING/$FLAVOR" 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