diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2020-11-11 07:30:02 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2020-11-11 07:30:02 +0100 |
commit | cac71b25b8a0a06372b01a273581e943cd2a1053 (patch) | |
tree | ad1531fd0bbdd1c4201304f65943ac5ee72c4382 /core/linux | |
parent | b75971e3ad314b3fa3c4c3c69290bbafcc3fc286 (diff) | |
download | packages-cac71b25b8a0a06372b01a273581e943cd2a1053.tar.xz |
core/linux: do not use zstd in ultra mode
Diffstat (limited to 'core/linux')
-rw-r--r-- | core/linux/PKGBUILD | 5 | ||||
-rw-r--r-- | core/linux/no-ultra-zstd.patch | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/core/linux/PKGBUILD b/core/linux/PKGBUILD index 66654c36..83b849b1 100644 --- a/core/linux/PKGBUILD +++ b/core/linux/PKGBUILD @@ -103,3 +103,8 @@ for ((i=0; i<${#source[@]}; i++)); do ) fi done + +# avoid using zstd compression in ultra mode (exhausts virtual memory) +source+=('core/linux/no-ultra-zstd.patch') +sha256sums+=('3997ce6033fdf950a9960f1db720b38c47b1a2e06ab75fc6712c154f596e7c47') +# upstream prepare() does already do the *.patch patching diff --git a/core/linux/no-ultra-zstd.patch b/core/linux/no-ultra-zstd.patch new file mode 100644 index 00000000..e3b133d5 --- /dev/null +++ b/core/linux/no-ultra-zstd.patch @@ -0,0 +1,12 @@ +diff -rauN a/scripts/Makefile.lib b/scripts/Makefile.lib +--- a/scripts/Makefile.lib 2020-11-11 06:45:51.375133819 +0100 ++++ b/scripts/Makefile.lib 2020-11-11 06:46:12.058448322 +0100 +@@ -445,7 +445,7 @@ + cmd_zstd = { cat $(real-prereqs) | $(ZSTD) -19; $(size_append); } > $@ + + quiet_cmd_zstd22 = ZSTD22 $@ +- cmd_zstd22 = { cat $(real-prereqs) | $(ZSTD) -22 --ultra; $(size_append); } > $@ ++ cmd_zstd22 = { cat $(real-prereqs) | $(ZSTD) -19; $(size_append); } > $@ + + # ASM offsets + # --------------------------------------------------------------------------- |