Commit 0bd627de authored by Natanael Copa's avatar Natanael Copa

update-kernel: make mksquashfs exit on error

mksquashfs will ignore errors and continue by default by design. This is
definitively not the behavior we want so we tell it to explicitly exit
on error.
parent 0d56ee4f
......@@ -259,7 +259,7 @@ find $ROOT/lib/modules -type f -name "*.ko" | xargs modinfo -F firmware | sort -
install -pD $ROOT/lib/firmware/$FW $MODLOOP/modules/firmware/$FW
fi
done
_exec mksquashfs $MODLOOP "$STAGING/$MODIMG" -comp xz
_exec mksquashfs $MODLOOP "$STAGING/$MODIMG" -comp xz -exit-on-error
_exec mkinitfs $MKINITFS_ARGS -q -b $ROOT -F "$features base squashfs" \
-o "$STAGING/initramfs-$FLAVOR" "$KVER"
......
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