mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-11 03:32:17 +01:00
Use slightly less agressive zstd compression leve for kernel so we don't run out of memory on 32 bit x86. Fixes zstd kernel compression error 11 on x86 https://forums.gentoo.org/viewtopic-p-8641020.html#8641020
19 lines
663 B
Diff
19 lines
663 B
Diff
Compress vmlinux with zstd -19 instead of -22
|
|
|
|
This gives slightly bigger kernel but on 32bit x86 solves:
|
|
zstd kernel compression error 11
|
|
|
|
diff --git a/arch/x86/boot/compressed/Makefile b/arch/x86/boot/compressed/Makefile
|
|
index 431bf7f..decc2de 100644
|
|
--- a/arch/x86/boot/compressed/Makefile
|
|
+++ b/arch/x86/boot/compressed/Makefile
|
|
@@ -133,7 +133,7 @@ $(obj)/vmlinux.bin.lzo: $(vmlinux.bin.all-y) FORCE
|
|
$(obj)/vmlinux.bin.lz4: $(vmlinux.bin.all-y) FORCE
|
|
$(call if_changed,lz4)
|
|
$(obj)/vmlinux.bin.zst: $(vmlinux.bin.all-y) FORCE
|
|
- $(call if_changed,zstd22)
|
|
+ $(call if_changed,zstd)
|
|
|
|
suffix-$(CONFIG_KERNEL_GZIP) := gz
|
|
suffix-$(CONFIG_KERNEL_BZIP2) := bz2
|