Commit 8beb8f42 authored by Alex Xu (Hello71)'s avatar Alex Xu (Hello71)

update-kernel: remove nopad

-nopad squashfs files cannot be mounted by Linux kernel.

Fixes: 30e6933e ("update-kernel: use -nopad -Xbcj for modloop")
parent 30e6933e
......@@ -323,7 +323,7 @@ case $ARCH in
x86|x86_64) mksfs="-Xbcj x86" ;;
*) mksfs=
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"
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