summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorMiklós Tóth2021-10-01 00:02:59 +0000
committerMiklós Tóth2021-10-01 00:02:59 +0000
commitc4573a468f37354d59b831ad7cd4793bdb18c033 (patch)
tree61a969b2ec965c8e977cd7fd4f00ce5a62fad346 /PKGBUILD
parentfac153b83224ade0fa0d4065d88e39f2d2c55d62 (diff)
downloadaur-c4573a468f37354d59b831ad7cd4793bdb18c033.tar.gz
automatic update
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 14 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 74b30fcc441..3cc45eeedbf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -39,6 +39,11 @@ if [ -z ${_compiler+x} ]; then
_compiler=gcc
fi
+# Compress modules with ZSTD (to save disk space)
+if [ -z ${_compress_modules+x} ]; then
+ _compress_modules=n
+fi
+
# Compile ONLY used modules to VASTLY reduce the number of modules built
# and the build time.
#
@@ -57,8 +62,8 @@ _makenconfig=
### IMPORTANT: Do no edit below this line unless you know what you're doing
pkgbase=linux-xanmod-anbox
-_major=5.13
-pkgver=${_major}.19
+_major=5.14
+pkgver=${_major}.9
_branch=5.x
xanmod=1
pkgrel=${xanmod}
@@ -93,9 +98,9 @@ for _patch in ${_patches[@]}; do
source+=("${_patch}::https://raw.githubusercontent.com/archlinux/svntogit-packages/${_commit}/trunk/${_patch}")
done
-sha256sums=('3f6baa97f37518439f51df2e4f3d65a822ca5ff016aa8e60d2cc53b95a6c89d9'
+sha256sums=('7e068b5e0d26a62b10e5320b25dce57588cbbc6f781c090442138c9c9c3271b2'
'SKIP'
- 'ba173136348108df3066db4c2e2c0539e16162fa017aa738df81de85e0124657'
+ '6411c502e290ed9b77fc314a885cc8ca23f0674e821afa04ae263482e9cbb076'
'1ac18cad2578df4a70f9346f7c6fccbb62f042a0ee0594817fdef9f2704904ee')
export KBUILD_BUILD_HOST=${KBUILD_BUILD_HOST:-archlinux}
@@ -161,6 +166,11 @@ prepare() {
scripts/config --disable CONFIG_NUMA
fi
+ # Compress modules by default (following Arch's kernel)
+ if [ "$_compress_modules" = "y" ]; then
+ scripts/config --enable CONFIG_MODULE_COMPRESS_ZSTD
+ fi
+
# Let's user choose microarchitecture optimization in GCC
sh ${srcdir}/choose-gcc-optimization.sh $_microarchitecture