| 1 | From 99dfd322ac17ec05eaffd7d15f16c60c37e082ae Mon Sep 17 00:00:00 2001
|
| 2 | From: Natanael Copa <[email protected]>
|
| 3 | Date: Tue, 13 Dec 2022 16:45:51 +0100
|
| 4 | Subject: [PATCH 2/5] x86: Compress vmlinux with zstd -19 instead of -22
|
| 5 |
|
| 6 | This gives slightly bigger kernel but it avoids run out of memory on 32
|
| 7 | bit kernels with the error:
|
| 8 | zstd kernel compression error 11
|
| 9 |
|
| 10 | https://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 |
|
| 15 | diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile
|
| 16 | index f2051644de94..3b1355da2145 100644
|
| 17 | |
| 18 | |
| 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 | --
|
| 29 | 2.47.1
|
| 30 |
|