projects/aports·blob master · refs

30 lines · 1.1 KiB

1From 99dfd322ac17ec05eaffd7d15f16c60c37e082ae Mon Sep 17 00:00:00 2001
2From: Natanael Copa <[email protected]>
3Date: Tue, 13 Dec 2022 16:45:51 +0100
4Subject: [PATCH 2/5] x86: Compress vmlinux with zstd -19 instead of -22
5
6This gives slightly bigger kernel but it avoids run out of memory on 32
7bit kernels with the error:
8zstd kernel compression error 11
9
10https://forums.gentoo.org/viewtopic-p-8641020.html#8641020
11---
12 arch/x86/boot/compressed/Makefile | 2 +-
13 1 file changed, 1 insertion(+), 1 deletion(-)
14
15diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile
16index f2051644de94..3b1355da2145 100644
17--- a/arch/x86/boot/compressed/Makefile
18+++ b/arch/x86/boot/compressed/Makefile
19@@ -136,7 +136,7 @@ $(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y) FORCE
20 $(obj)/vmlinux.bin.lz4: $(vmlinux.bin.all-y) FORCE
21 $(call if_changed,lz4_with_size)
22 $(obj)/vmlinux.bin.zst: $(vmlinux.bin.all-y) FORCE
23- $(call if_changed,zstd22_with_size)
24+ $(call if_changed,zstd_with_size)
25
26 suffix-$(CONFIG_KERNEL_GZIP) := gz
27 suffix-$(CONFIG_KERNEL_BZIP2) := bz2
28--
292.47.1
30