From ed3a698315cbbb85535f0711b8a2bbd206e947cb Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Tue, 13 Dec 2022 16:45:51 +0100 Subject: [PATCH] x86: Compress vmlinux with zstd -19 instead of -22 This gives slightly bigger kernel but it avoids run out of memory on 32 bit kernels with the error: zstd kernel compression error 11 https://forums.gentoo.org/viewtopic-p-8641020.html#8641020 --- arch/x86/boot/compressed/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile index 3a261abb6d15..99d2cf707640 100644 --- a/arch/x86/boot/compressed/Makefile +++ b/arch/x86/boot/compressed/Makefile @@ -143,7 +143,7 @@ $(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y) FORCE $(obj)/vmlinux.bin.lz4: $(vmlinux.bin.all-y) FORCE $(call if_changed,lz4_with_size) $(obj)/vmlinux.bin.zst: $(vmlinux.bin.all-y) FORCE - $(call if_changed,zstd22_with_size) + $(call if_changed,zstd_with_size) suffix-$(CONFIG_KERNEL_GZIP) := gz suffix-$(CONFIG_KERNEL_BZIP2) := bz2 -- 2.38.2