aboutsummaryrefslogblamecommitdiffstats
path: root/main/alpine-conf/0001-update-kernel-remove-nopad.patch
blob: 36cece148fcad8666ef55df85843105a397fe1c6 (plain) (tree)



























                                                                             
From 8beb8f42f4bd33227f7a57193631d5d3a951a8de Mon Sep 17 00:00:00 2001
From: "Alex Xu (Hello71)" <alex_y_xu@yahoo.ca>
Date: Sat, 9 Jan 2021 12:10:56 -0500
Subject: [PATCH] update-kernel: remove nopad

-nopad squashfs files cannot be mounted by Linux kernel.

Fixes: 30e6933e71fc ("update-kernel: use -nopad -Xbcj for modloop")
---
 update-kernel.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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"
-- 
2.30.0