summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-01-09 12:10:56 -0500
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-01-09 12:12:22 -0500
commit8beb8f42f4bd33227f7a57193631d5d3a951a8de (patch)
treefafe0240459131b657b1913b1351d4d899de07e2
parent30e6933e71fc18ff5bcb5a7d9dad105e464272bf (diff)
downloadalpine-conf-8beb8f42f4bd33227f7a57193631d5d3a951a8de.zip
update-kernel: remove nopad
-nopad squashfs files cannot be mounted by Linux kernel. Fixes: 30e6933e71fc ("update-kernel: use -nopad -Xbcj for modloop")
-rw-r--r--update-kernel.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/update-kernel.in b/update-kernel.in
index d0b67e8..143e8ec 100644
--- a/update-kernel.in
+++ b/update-kernel.in
@@ -323,7 +323,7 @@ case $ARCH in
x86|x86_64) mksfs="-Xbcj x86" ;;
*) mksfs=
esac
-mksquashfs $MODLOOP "$STAGING/$MODIMG" -comp xz -exit-on-error -nopad $mksfs
+mksquashfs $MODLOOP "$STAGING/$MODIMG" -comp xz -exit-on-error $mksfs
if [ -n "$MODLOOPSIGN" ]; then
sign_modloop "$STAGING/$MODIMG"