From 6012ea4029af0abee6d2157a337cf77298895dc7 Mon Sep 17 00:00:00 2001 From: Anton Midyukov Date: Sat, 20 Mar 2021 02:12:21 +0700 Subject: [PATCH] stage1: Del squash option '-noI' squashfs built with this option are not loaded with modern kernels. --- features.in/stage2/stage1/scripts.d/03-test-kernel | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/features.in/stage2/stage1/scripts.d/03-test-kernel b/features.in/stage2/stage1/scripts.d/03-test-kernel index d7d088d7..f8af5615 100755 --- a/features.in/stage2/stage1/scripts.d/03-test-kernel +++ b/features.in/stage2/stage1/scripts.d/03-test-kernel @@ -3,9 +3,9 @@ # check relevant kernel features availability CONFIGS=/boot/config-* -GZ_OPTS="-comp gzip -noI" +GZ_OPTS="-comp gzip" XZ_OPTS="-comp xz" -LZO_OPTS="-comp lzo -noI" +LZO_OPTS="-comp lzo" verbose() { [ -z "$GLOBAL_VERBOSE" ] || echo "** $@" >&2; } fatal() { echo "** error: $@" >&2; exit 1; } @@ -43,7 +43,7 @@ options() if [ "$GLOBAL_SQUASHFS" = "tight" ] && configured "X86"; then XZ_OPTS="$XZ_OPTS -b 524288 -Xbcj x86" else - XZ_OPTS="$XZ_OPTS -b 262144 -noI" + XZ_OPTS="$XZ_OPTS -b 262144" fi echo "$XZ_OPTS" else # go fast, or even faster if possible