Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

5.17.5-1

Peter Jung66affaa23a69
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFO
index 3d62846d..749e7e3f 100755
--- a/linux-bore/.SRCINFO
+++ b/linux-bore/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
- pkgver = 5.17.4
- pkgrel = 3
+ pkgver = 5.17.5
+ pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -24,7 +24,7 @@ pkgbase = linux-bore
makedepends = make
makedepends = patch
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.4.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.5.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/sched/0001-bore-sched.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch
@@ -36,35 +36,31 @@ pkgbase = linux-bore
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-hwmon.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-lru-le9.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-spf-lru.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-xanmod.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-lrng.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-le9.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0016-ck-hrtimer.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0017-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-xanmod.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-ck-hrtimer.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-futex-winesync.patch
source = auto-cpu-optimization.sh
- sha256sums = 6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5
+ sha256sums = 9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987
sha256sums = b304bc70ea0fcea5964cf54275bc050b3f34886c10430816a13f7824b0b82738
sha256sums = 0f99f7935f545033eff35b5e4ffa54142c31c7034ee801cd1534fe085351f019
- sha256sums = e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8
- sha256sums = dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5
- sha256sums = 9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2
- sha256sums = 2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d
- sha256sums = 6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93
- sha256sums = 18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057
- sha256sums = 832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529
- sha256sums = 6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5
- sha256sums = be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a
- sha256sums = 9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419
- sha256sums = b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be
- sha256sums = 6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8
- sha256sums = b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7
- sha256sums = 354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc
- sha256sums = 93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d
- sha256sums = 3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa
- sha256sums = 3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622
+ sha256sums = ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b
+ sha256sums = b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421
+ sha256sums = 0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a
+ sha256sums = 8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb
+ sha256sums = e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e
+ sha256sums = fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542
+ sha256sums = d089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628
+ sha256sums = d94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823
+ sha256sums = 290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0
+ sha256sums = 4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88
+ sha256sums = 40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff
+ sha256sums = ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8
+ sha256sums = 71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62
+ sha256sums = f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc
+ sha256sums = 71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-bore
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILD
index 9ff4883e..458440ad 100644
--- a/linux-bore/PKGBUILD
+++ b/linux-bore/PKGBUILD
@@ -26,6 +26,9 @@ _makenconfig=
# See, https://bugs.archlinux.org/task/31187
_NUMAdisable=y
+## Enable Anbox
+_anbox=
+
# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
@@ -98,6 +101,9 @@ _nf_cone=y
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_use_llvm_lto=
+## Change the thin lto cachedir for fixing building several dkms modules including zfs
+_thin_lto_cachedir=
+
# Enable it for using the LLVM CFI PATCH for a better security
_use_cfi=
@@ -107,7 +113,7 @@ else
pkgbase=linux-${_cpusched}
fi
_major=5.17
-_minor=4
+_minor=5
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -118,7 +124,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=3
+pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -127,6 +133,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -156,6 +164,7 @@ if [ "$_cpusched" = "bore" ]; then
fi
source+=(
"${_patchsource}/0001-arch.patch"
+ "${_patchsource}/0002-anbox.patch"
"${_patchsource}/0003-bbr2.patch"
"${_patchsource}/0004-cachy.patch"
"${_patchsource}/0005-clearlinux.patch"
@@ -163,21 +172,20 @@ source+=(
"${_patchsource}/0007-fixes-miscellaneous.patch"
"${_patchsource}/0008-fs-patches.patch"
"${_patchsource}/0009-hwmon.patch"
- "${_patchsource}/0010-MG-LRU.patch"
+ "${_patchsource}/0010-lru-le9.patch"
"${_patchsource}/0011-spf-lru.patch"
- "${_patchsource}/0012-v4l2loopback.patch"
- "${_patchsource}/0013-xanmod.patch"
- "${_patchsource}/0014-lrng.patch"
- "${_patchsource}/0015-le9.patch"
- "${_patchsource}/0016-ck-hrtimer.patch"
- "${_patchsource}/0017-futex-winesync.patch"
+ "${_patchsource}/0012-xanmod.patch"
+ "${_patchsource}/0013-lrng.patch"
+ "${_patchsource}/0014-ck-hrtimer.patch"
+ "${_patchsource}/0015-futex-winesync.patch"
+# "${_patchsource}/0017-FG-KASLR.patch"
+# "${_patchsource}/0018-zstd-dev.patch" # Don't use them without custom mkinitcpio
"auto-cpu-optimization.sh"
)
-
-if [ -n "$_anbox" ]; then
-source+(=
- "${_patchsource}/0002-anbox.patch"
-)
+ ## Change the thin lto cachedir for fixing building several dkms modules
+if [ -n "$_thin_lto_cachedir" ] && [ "$_use_llvm_lto" = "thin" ]; then
+ source+=("${_patchsource}/0016-thinlto-cache-dir.patch ")
+fi
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
@@ -256,6 +264,7 @@ prepare() {
exit
fi
+ ## Enable it for using the LLVM CFI PATCH for a better security
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
echo "Enabling CFI"
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
@@ -498,15 +507,17 @@ prepare() {
scripts/config --enable CONFIG_ZSWAP_COMPRESSOR_DEFAULT_ZSTD
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
fi
- ## Enable Anbox Support
+
+ ## Enable Anbox Support
if [ -n "$_anbox" ]; then
- echo "Enable Anbox..."
- scripts/config --enable CONFIG_ASHMEM
- scripts/config --enable CONFIG_ANDROID
- scripts/config --enable CONFIG_ANDROID_BINDER_IPC
- scripts/config --enable CONFIG_ANDROID_BINDERFS
- scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ echo "Enable Anbox..."
+ scripts/config --enable CONFIG_ASHMEM
+ scripts/config --enable CONFIG_ANDROID
+ scripts/config --enable CONFIG_ANDROID_BINDER_IPC
+ scripts/config --enable CONFIG_ANDROID_BINDERFS
+ scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
fi
+
echo "disable debugging features to reduce the size..."
scripts/config --disable CONFIG_DEBUG_INFO
scripts/config --disable CONFIG_CGROUP_BPF
@@ -694,24 +705,22 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5'
+sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
'b304bc70ea0fcea5964cf54275bc050b3f34886c10430816a13f7824b0b82738'
'0f99f7935f545033eff35b5e4ffa54142c31c7034ee801cd1534fe085351f019'
- 'e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8'
- 'dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5'
- '9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2'
- '2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d'
- '6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93'
- '18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057'
- '832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529'
- '6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5'
- 'be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a'
- '9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419'
- 'b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be'
- '6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8'
- 'b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7'
- '354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc'
- '93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d'
- '3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa'
- '3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622'
+ 'ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b'
+ 'b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421'
+ '0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a'
+ '8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb'
+ 'e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e'
+ 'fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542'
+ 'd089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628'
+ 'd94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823'
+ '290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0'
+ '4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88'
+ '40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff'
+ 'ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8'
+ '71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62'
+ 'f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc'
+ '71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
diff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFO
index ae7f9929..0b0db940 100755
--- a/linux-cachyos-bmq/.SRCINFO
+++ b/linux-cachyos-bmq/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-bmq
pkgdesc = Linux BMQ scheduler Kernel by CachyOS with other patches and improvements
- pkgver = 5.17.4
- pkgrel = 3
+ pkgver = 5.17.5
+ pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -24,7 +24,7 @@ pkgbase = linux-cachyos-bmq
makedepends = make
makedepends = patch
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.4.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.5.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/sched/0001-prjc.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch
@@ -36,33 +36,29 @@ pkgbase = linux-cachyos-bmq
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-hwmon.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-lru-le9.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-spf-lru.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-xanmod.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-lrng.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-le9.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0017-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-xanmod.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-futex-winesync.patch
source = auto-cpu-optimization.sh
- sha256sums = 6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5
+ sha256sums = 9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987
sha256sums = 29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36
sha256sums = 56c7c89373bb1cd1cfb7446b350f4fc590971fc15e0ee16e23fcb40ffc09482a
- sha256sums = e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8
- sha256sums = dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5
- sha256sums = 9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2
- sha256sums = 2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d
- sha256sums = 6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93
- sha256sums = 18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057
- sha256sums = 832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529
- sha256sums = 6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5
- sha256sums = be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a
- sha256sums = 9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419
- sha256sums = b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be
- sha256sums = 6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8
- sha256sums = b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7
- sha256sums = 354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc
- sha256sums = 93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d
- sha256sums = 3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622
+ sha256sums = ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b
+ sha256sums = b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421
+ sha256sums = 0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a
+ sha256sums = 8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb
+ sha256sums = e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e
+ sha256sums = fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542
+ sha256sums = d089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628
+ sha256sums = d94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823
+ sha256sums = 290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0
+ sha256sums = 4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88
+ sha256sums = 40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff
+ sha256sums = ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8
+ sha256sums = 71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62
+ sha256sums = 71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-cachyos-bmq
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD
index 1c1483d8..3052ec09 100644
--- a/linux-cachyos-bmq/PKGBUILD
+++ b/linux-cachyos-bmq/PKGBUILD
@@ -21,6 +21,9 @@ _cpusched='bmq'
### Tweak kernel options prior to a build via nconfig
_makenconfig=
+## Enable Anbox
+_anbox=
+
# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
@@ -74,6 +77,7 @@ _lru_enable=y
### Enable DAMON
_damon=y
+## Enable SPECULATIVE_PAGE_FAULT
_spf_enable=y
### Enable Linux Random Number Generator
@@ -95,6 +99,9 @@ _nf_cone=y
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_use_llvm_lto=
+## Change the thin lto cachedir for fixing building several dkms modules including zfs
+_thin_lto_cachedir=
+
# Enable it for using the LLVM CFI PATCH for a better security
_use_cfi=
@@ -104,7 +111,7 @@ else
pkgbase=linux-cachyos-${_cpusched}
fi
_major=5.17
-_minor=4
+_minor=5
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -115,7 +122,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux BMQ scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=3
+pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -124,6 +131,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -161,15 +170,19 @@ source+=(
"${_patchsource}/0007-fixes-miscellaneous.patch"
"${_patchsource}/0008-fs-patches.patch"
"${_patchsource}/0009-hwmon.patch"
- "${_patchsource}/0010-MG-LRU.patch"
+ "${_patchsource}/0010-lru-le9.patch"
"${_patchsource}/0011-spf-lru.patch"
- "${_patchsource}/0012-v4l2loopback.patch"
- "${_patchsource}/0013-xanmod.patch"
- "${_patchsource}/0014-lrng.patch"
- "${_patchsource}/0015-le9.patch"
- "${_patchsource}/0017-futex-winesync.patch"
+ "${_patchsource}/0012-xanmod.patch"
+ "${_patchsource}/0013-lrng.patch"
+ "${_patchsource}/0015-futex-winesync.patch"
+# "${_patchsource}/0017-FG-KASLR.patch"
+# "${_patchsource}/0018-zstd-dev.patch" # Don't use them without custom mkinitcpio
"auto-cpu-optimization.sh"
)
+ ## Change the thin lto cachedir for fixing building several dkms modules
+if [ -n "$_thin_lto_cachedir" ] && [ "$_use_llvm_lto" = "thin" ]; then
+ source+=("${_patchsource}/0016-thinlto-cache-dir.patch ")
+fi
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
@@ -248,6 +261,7 @@ prepare() {
exit
fi
+ ## Enable it for using the LLVM CFI PATCH for a better security
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
echo "Enabling CFI"
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
@@ -491,12 +505,15 @@ prepare() {
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
fi
- echo "Enable Anbox..."
- scripts/config --enable CONFIG_ASHMEM
- scripts/config --enable CONFIG_ANDROID
- scripts/config --enable CONFIG_ANDROID_BINDER_IPC
- scripts/config --enable CONFIG_ANDROID_BINDERFS
- scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ ## Enable Anbox Support
+ if [ -n "$_anbox" ]; then
+ echo "Enable Anbox..."
+ scripts/config --enable CONFIG_ASHMEM
+ scripts/config --enable CONFIG_ANDROID
+ scripts/config --enable CONFIG_ANDROID_BINDER_IPC
+ scripts/config --enable CONFIG_ANDROID_BINDERFS
+ scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ fi
echo "disable debugging features to reduce the size..."
scripts/config --disable CONFIG_DEBUG_INFO
@@ -685,23 +702,21 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5'
+sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
'29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36'
'56c7c89373bb1cd1cfb7446b350f4fc590971fc15e0ee16e23fcb40ffc09482a'
- 'e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8'
- 'dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5'
- '9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2'
- '2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d'
- '6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93'
- '18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057'
- '832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529'
- '6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5'
- 'be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a'
- '9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419'
- 'b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be'
- '6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8'
- 'b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7'
- '354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc'
- '93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d'
- '3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622'
+ 'ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b'
+ 'b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421'
+ '0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a'
+ '8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb'
+ 'e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e'
+ 'fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542'
+ 'd089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628'
+ 'd94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823'
+ '290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0'
+ '4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88'
+ '40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff'
+ 'ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8'
+ '71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62'
+ '71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFO
index b008381a..42647c10 100755
--- a/linux-cachyos-bore/.SRCINFO
+++ b/linux-cachyos-bore/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
- pkgver = 5.17.4
- pkgrel = 3
+ pkgver = 5.17.5
+ pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -24,7 +24,7 @@ pkgbase = linux-cachyos-bore
makedepends = make
makedepends = patch
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.4.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.5.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/sched/0001-bore-sched.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch
@@ -36,35 +36,31 @@ pkgbase = linux-cachyos-bore
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-hwmon.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-lru-le9.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-spf-lru.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-xanmod.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-lrng.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-le9.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0016-ck-hrtimer.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0017-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-xanmod.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-ck-hrtimer.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-futex-winesync.patch
source = auto-cpu-optimization.sh
- sha256sums = 6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5
+ sha256sums = 9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987
sha256sums = 29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36
sha256sums = 0f99f7935f545033eff35b5e4ffa54142c31c7034ee801cd1534fe085351f019
- sha256sums = e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8
- sha256sums = dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5
- sha256sums = 9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2
- sha256sums = 2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d
- sha256sums = 6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93
- sha256sums = 18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057
- sha256sums = 832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529
- sha256sums = 6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5
- sha256sums = be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a
- sha256sums = 9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419
- sha256sums = b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be
- sha256sums = 6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8
- sha256sums = b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7
- sha256sums = 354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc
- sha256sums = 93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d
- sha256sums = 3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa
- sha256sums = 3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622
+ sha256sums = ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b
+ sha256sums = b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421
+ sha256sums = 0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a
+ sha256sums = 8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb
+ sha256sums = e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e
+ sha256sums = fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542
+ sha256sums = d089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628
+ sha256sums = d94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823
+ sha256sums = 290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0
+ sha256sums = 4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88
+ sha256sums = 40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff
+ sha256sums = ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8
+ sha256sums = 71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62
+ sha256sums = f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc
+ sha256sums = 71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-cachyos-bore
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index f6f56e1c..e16ca91a 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -26,6 +26,9 @@ _makenconfig=
# See, https://bugs.archlinux.org/task/31187
_NUMAdisable=y
+## Enable Anbox
+_anbox=
+
# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
@@ -95,6 +98,9 @@ _nf_cone=y
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_use_llvm_lto=
+## Change the thin lto cachedir for fixing building several dkms modules including zfs
+_thin_lto_cachedir=
+
# Enable it for using the LLVM CFI PATCH for a better security
_use_cfi=
@@ -104,7 +110,7 @@ else
pkgbase=linux-cachyos-${_cpusched}
fi
_major=5.17
-_minor=4
+_minor=5
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -115,7 +121,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux BORE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=3
+pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -124,6 +130,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -161,22 +169,19 @@ source+=(
"${_patchsource}/0007-fixes-miscellaneous.patch"
"${_patchsource}/0008-fs-patches.patch"
"${_patchsource}/0009-hwmon.patch"
- "${_patchsource}/0010-MG-LRU.patch"
+ "${_patchsource}/0010-lru-le9.patch"
"${_patchsource}/0011-spf-lru.patch"
- "${_patchsource}/0012-v4l2loopback.patch"
- "${_patchsource}/0013-xanmod.patch"
- "${_patchsource}/0014-lrng.patch"
- "${_patchsource}/0015-le9.patch"
- "${_patchsource}/0016-ck-hrtimer.patch"
- "${_patchsource}/0017-futex-winesync.patch"
+ "${_patchsource}/0012-xanmod.patch"
+ "${_patchsource}/0013-lrng.patch"
+ "${_patchsource}/0014-ck-hrtimer.patch"
+ "${_patchsource}/0015-futex-winesync.patch"
+# "${_patchsource}/0017-FG-KASLR.patch"
+# "${_patchsource}/0018-zstd-dev.patch" # Don't use them without custom mkinitcpio
"auto-cpu-optimization.sh"
)
-
-if [ -n "$_use_llvm_lto" ]; then
- BUILD_FLAGS=(
- LLVM=1
- LLVM_IAS=1
- )
+ ## Change the thin lto cachedir for fixing building several dkms modules
+if [ -n "$_thin_lto_cachedir" ] && [ "$_use_llvm_lto" = "thin" ]; then
+ source+=("${_patchsource}/0016-thinlto-cache-dir.patch ")
fi
export KBUILD_BUILD_HOST=archlinux
@@ -256,6 +261,7 @@ prepare() {
exit
fi
+ ## Enable it for using the LLVM CFI PATCH for a better security
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
echo "Enabling CFI"
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
@@ -499,12 +505,15 @@ prepare() {
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
fi
- echo "Enable Anbox..."
- scripts/config --enable CONFIG_ASHMEM
- scripts/config --enable CONFIG_ANDROID
- scripts/config --enable CONFIG_ANDROID_BINDER_IPC
- scripts/config --enable CONFIG_ANDROID_BINDERFS
- scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ ## Enable Anbox Support
+ if [ -n "$_anbox" ]; then
+ echo "Enable Anbox..."
+ scripts/config --enable CONFIG_ASHMEM
+ scripts/config --enable CONFIG_ANDROID
+ scripts/config --enable CONFIG_ANDROID_BINDER_IPC
+ scripts/config --enable CONFIG_ANDROID_BINDERFS
+ scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ fi
echo "disable debugging features to reduce the size..."
scripts/config --disable CONFIG_DEBUG_INFO
@@ -693,24 +702,22 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5'
+sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
'29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36'
'0f99f7935f545033eff35b5e4ffa54142c31c7034ee801cd1534fe085351f019'
- 'e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8'
- 'dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5'
- '9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2'
- '2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d'
- '6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93'
- '18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057'
- '832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529'
- '6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5'
- 'be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a'
- '9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419'
- 'b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be'
- '6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8'
- 'b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7'
- '354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc'
- '93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d'
- '3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa'
- '3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622'
+ 'ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b'
+ 'b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421'
+ '0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a'
+ '8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb'
+ 'e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e'
+ 'fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542'
+ 'd089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628'
+ 'd94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823'
+ '290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0'
+ '4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88'
+ '40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff'
+ 'ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8'
+ '71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62'
+ 'f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc'
+ '71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
diff --git a/linux-cachyos-cacule/.SRCINFO b/linux-cachyos-cacule/.SRCINFO
index d15e8871..28d4e65a 100755
--- a/linux-cachyos-cacule/.SRCINFO
+++ b/linux-cachyos-cacule/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-cacule
pkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvements
- pkgver = 5.17.4
- pkgrel = 3
+ pkgver = 5.17.5
+ pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -24,7 +24,7 @@ pkgbase = linux-cachyos-cacule
makedepends = make
makedepends = patch
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.4.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.5.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/sched/0001-cacULE.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch
@@ -36,35 +36,31 @@ pkgbase = linux-cachyos-cacule
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-hwmon.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-lru-le9.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-spf-lru.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-xanmod.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-lrng.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-le9.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0016-ck-hrtimer.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0017-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-xanmod.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-ck-hrtimer.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-futex-winesync.patch
source = auto-cpu-optimization.sh
- sha256sums = 6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5
+ sha256sums = 9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987
sha256sums = 29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36
sha256sums = 6ca8fa67a30513e47b2f4dc8566a7297741404195430b589624409d9608b3710
- sha256sums = e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8
- sha256sums = dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5
- sha256sums = 9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2
- sha256sums = 2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d
- sha256sums = 6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93
- sha256sums = 18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057
- sha256sums = 832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529
- sha256sums = 6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5
- sha256sums = be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a
- sha256sums = 9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419
- sha256sums = b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be
- sha256sums = 6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8
- sha256sums = b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7
- sha256sums = 354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc
- sha256sums = 93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d
- sha256sums = 3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa
- sha256sums = 3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622
+ sha256sums = ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b
+ sha256sums = b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421
+ sha256sums = 0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a
+ sha256sums = 8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb
+ sha256sums = e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e
+ sha256sums = fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542
+ sha256sums = d089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628
+ sha256sums = d94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823
+ sha256sums = 290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0
+ sha256sums = 4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88
+ sha256sums = 40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff
+ sha256sums = ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8
+ sha256sums = 71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62
+ sha256sums = f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc
+ sha256sums = 71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-cachyos-cacule
diff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILD
index d15014a3..9eae4f4b 100644
--- a/linux-cachyos-cacule/PKGBUILD
+++ b/linux-cachyos-cacule/PKGBUILD
@@ -26,6 +26,9 @@ _makenconfig=
# See, https://bugs.archlinux.org/task/31187
_NUMAdisable=y
+## Enable Anbox
+_anbox=
+
# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
@@ -95,6 +98,9 @@ _nf_cone=y
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_use_llvm_lto=
+## Change the thin lto cachedir for fixing building several dkms modules including zfs
+_thin_lto_cachedir=
+
# Enable it for using the LLVM CFI PATCH for a better security
_use_cfi=
@@ -104,7 +110,7 @@ else
pkgbase=linux-cachyos-${_cpusched}
fi
_major=5.17
-_minor=4
+_minor=5
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -115,7 +121,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux cacULE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=3
+pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -124,6 +130,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -161,16 +169,20 @@ source+=(
"${_patchsource}/0007-fixes-miscellaneous.patch"
"${_patchsource}/0008-fs-patches.patch"
"${_patchsource}/0009-hwmon.patch"
- "${_patchsource}/0010-MG-LRU.patch"
+ "${_patchsource}/0010-lru-le9.patch"
"${_patchsource}/0011-spf-lru.patch"
- "${_patchsource}/0012-v4l2loopback.patch"
- "${_patchsource}/0013-xanmod.patch"
- "${_patchsource}/0014-lrng.patch"
- "${_patchsource}/0015-le9.patch"
- "${_patchsource}/0016-ck-hrtimer.patch"
- "${_patchsource}/0017-futex-winesync.patch"
+ "${_patchsource}/0012-xanmod.patch"
+ "${_patchsource}/0013-lrng.patch"
+ "${_patchsource}/0014-ck-hrtimer.patch"
+ "${_patchsource}/0015-futex-winesync.patch"
+# "${_patchsource}/0017-FG-KASLR.patch"
+# "${_patchsource}/0018-zstd-dev.patch" # Don't use them without custom mkinitcpio
"auto-cpu-optimization.sh"
)
+ ## Change the thin lto cachedir for fixing building several dkms modules
+if [ -n "$_thin_lto_cachedir" ] && [ "$_use_llvm_lto" = "thin" ]; then
+ source+=("${_patchsource}/0016-thinlto-cache-dir.patch ")
+fi
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
@@ -249,6 +261,7 @@ prepare() {
exit
fi
+ ## Enable it for using the LLVM CFI PATCH for a better security
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
echo "Enabling CFI"
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
@@ -492,12 +505,15 @@ prepare() {
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
fi
- echo "Enable Anbox..."
- scripts/config --enable CONFIG_ASHMEM
- scripts/config --enable CONFIG_ANDROID
- scripts/config --enable CONFIG_ANDROID_BINDER_IPC
- scripts/config --enable CONFIG_ANDROID_BINDERFS
- scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ ## Enable Anbox Support
+ if [ -n "$_anbox" ]; then
+ echo "Enable Anbox..."
+ scripts/config --enable CONFIG_ASHMEM
+ scripts/config --enable CONFIG_ANDROID
+ scripts/config --enable CONFIG_ANDROID_BINDER_IPC
+ scripts/config --enable CONFIG_ANDROID_BINDERFS
+ scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ fi
echo "disable debugging features to reduce the size..."
scripts/config --disable CONFIG_DEBUG_INFO
@@ -686,24 +702,22 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5'
+sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
'29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36'
'6ca8fa67a30513e47b2f4dc8566a7297741404195430b589624409d9608b3710'
- 'e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8'
- 'dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5'
- '9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2'
- '2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d'
- '6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93'
- '18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057'
- '832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529'
- '6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5'
- 'be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a'
- '9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419'
- 'b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be'
- '6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8'
- 'b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7'
- '354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc'
- '93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d'
- '3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa'
- '3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622'
+ 'ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b'
+ 'b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421'
+ '0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a'
+ '8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb'
+ 'e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e'
+ 'fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542'
+ 'd089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628'
+ 'd94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823'
+ '290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0'
+ '4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88'
+ '40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff'
+ 'ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8'
+ '71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62'
+ 'f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc'
+ '71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFO
index 5764f39c..b3c6ba36 100755
--- a/linux-cachyos-pds/.SRCINFO
+++ b/linux-cachyos-pds/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-pds
pkgdesc = Linux PDS scheduler Kernel by CachyOS with other patches and improvements
- pkgver = 5.17.4
- pkgrel = 3
+ pkgver = 5.17.5
+ pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -24,7 +24,7 @@ pkgbase = linux-cachyos-pds
makedepends = make
makedepends = patch
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.4.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.5.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/sched/0001-prjc.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch
@@ -36,33 +36,29 @@ pkgbase = linux-cachyos-pds
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-hwmon.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-lru-le9.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-spf-lru.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-xanmod.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-lrng.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-le9.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0017-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-xanmod.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-futex-winesync.patch
source = auto-cpu-optimization.sh
- sha256sums = 6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5
+ sha256sums = 9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987
sha256sums = 29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36
sha256sums = 56c7c89373bb1cd1cfb7446b350f4fc590971fc15e0ee16e23fcb40ffc09482a
- sha256sums = e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8
- sha256sums = dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5
- sha256sums = 9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2
- sha256sums = 2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d
- sha256sums = 6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93
- sha256sums = 18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057
- sha256sums = 832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529
- sha256sums = 6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5
- sha256sums = be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a
- sha256sums = 9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419
- sha256sums = b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be
- sha256sums = 6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8
- sha256sums = b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7
- sha256sums = 354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc
- sha256sums = 93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d
- sha256sums = 3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622
+ sha256sums = ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b
+ sha256sums = b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421
+ sha256sums = 0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a
+ sha256sums = 8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb
+ sha256sums = e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e
+ sha256sums = fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542
+ sha256sums = d089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628
+ sha256sums = d94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823
+ sha256sums = 290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0
+ sha256sums = 4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88
+ sha256sums = 40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff
+ sha256sums = ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8
+ sha256sums = 71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62
+ sha256sums = 71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-cachyos-pds
diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILD
index 342457f8..283200b7 100644
--- a/linux-cachyos-pds/PKGBUILD
+++ b/linux-cachyos-pds/PKGBUILD
@@ -26,6 +26,9 @@ _makenconfig=
# See, https://bugs.archlinux.org/task/31187
_NUMAdisable=y
+## Enable Anbox
+_anbox=
+
# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
@@ -95,6 +98,9 @@ _nf_cone=y
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_use_llvm_lto=
+## Change the thin lto cachedir for fixing building several dkms modules including zfs
+_thin_lto_cachedir=
+
# Enable it for using the LLVM CFI PATCH for a better security
_use_cfi=
@@ -104,7 +110,7 @@ else
pkgbase=linux-cachyos-${_cpusched}
fi
_major=5.17
-_minor=4
+_minor=5
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -115,7 +121,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux PDS scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=3
+pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -124,6 +130,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -161,15 +169,19 @@ source+=(
"${_patchsource}/0007-fixes-miscellaneous.patch"
"${_patchsource}/0008-fs-patches.patch"
"${_patchsource}/0009-hwmon.patch"
- "${_patchsource}/0010-MG-LRU.patch"
+ "${_patchsource}/0010-lru-le9.patch"
"${_patchsource}/0011-spf-lru.patch"
- "${_patchsource}/0012-v4l2loopback.patch"
- "${_patchsource}/0013-xanmod.patch"
- "${_patchsource}/0014-lrng.patch"
- "${_patchsource}/0015-le9.patch"
- "${_patchsource}/0017-futex-winesync.patch"
+ "${_patchsource}/0012-xanmod.patch"
+ "${_patchsource}/0013-lrng.patch"
+ "${_patchsource}/0015-futex-winesync.patch"
+# "${_patchsource}/0017-FG-KASLR.patch"
+# "${_patchsource}/0018-zstd-dev.patch" # Don't use them without custom mkinitcpio
"auto-cpu-optimization.sh"
)
+ ## Change the thin lto cachedir for fixing building several dkms modules
+if [ -n "$_thin_lto_cachedir" ] && [ "$_use_llvm_lto" = "thin" ]; then
+ source+=("${_patchsource}/0016-thinlto-cache-dir.patch ")
+fi
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
@@ -248,6 +260,7 @@ prepare() {
exit
fi
+ ## Enable it for using the LLVM CFI PATCH for a better security
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
echo "Enabling CFI"
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
@@ -491,12 +504,15 @@ prepare() {
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
fi
- echo "Enable Anbox..."
- scripts/config --enable CONFIG_ASHMEM
- scripts/config --enable CONFIG_ANDROID
- scripts/config --enable CONFIG_ANDROID_BINDER_IPC
- scripts/config --enable CONFIG_ANDROID_BINDERFS
- scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ ## Enable Anbox Support
+ if [ -n "$_anbox" ]; then
+ echo "Enable Anbox..."
+ scripts/config --enable CONFIG_ASHMEM
+ scripts/config --enable CONFIG_ANDROID
+ scripts/config --enable CONFIG_ANDROID_BINDER_IPC
+ scripts/config --enable CONFIG_ANDROID_BINDERFS
+ scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ fi
echo "disable debugging features to reduce the size..."
scripts/config --disable CONFIG_DEBUG_INFO
@@ -685,23 +701,21 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5'
+sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
'29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36'
'56c7c89373bb1cd1cfb7446b350f4fc590971fc15e0ee16e23fcb40ffc09482a'
- 'e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8'
- 'dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5'
- '9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2'
- '2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d'
- '6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93'
- '18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057'
- '832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529'
- '6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5'
- 'be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a'
- '9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419'
- 'b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be'
- '6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8'
- 'b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7'
- '354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc'
- '93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d'
- '3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622'
+ 'ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b'
+ 'b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421'
+ '0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a'
+ '8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb'
+ 'e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e'
+ 'fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542'
+ 'd089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628'
+ 'd94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823'
+ '290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0'
+ '4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88'
+ '40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff'
+ 'ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8'
+ '71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62'
+ '71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 8bbec24b..ada1b60b 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -26,6 +26,9 @@ _makenconfig=
# See, https://bugs.archlinux.org/task/31187
_NUMAdisable=y
+## Enable Anbox
+_anbox=
+
# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
@@ -95,6 +98,9 @@ _nf_cone=y
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_use_llvm_lto=
+## Change the thin lto cachedir for fixing building several dkms modules including zfs
+_thin_lto_cachedir=
+
# Enable it for using the LLVM CFI PATCH for a better security
_use_cfi=
@@ -125,6 +131,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -246,12 +254,19 @@ prepare() {
exit
fi
+ ## Enable it for using the LLVM CFI PATCH for a better security
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
echo "Enabling CFI"
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
scripts/config --enable CONFIG_CFI_CLANG
fi
+ ## Change the thin lto cachedir for fixing building several dkms modules
+ if [ -n "$_thin_lto_cachedir" ] && [ "$_use_llvm_lto" = "thin" ]; then
+ echo "Enabling CFI"
+ scripts/config --set-val LTO_CLANG_THIN_CACHEDIR "/tmp"
+ fi
+
### Selecting the THIN or FULL-LTO compression level
if [ "$_use_llvm_lto" = "thin" ]; then
echo "Enabling LLVM THIN LTO..."
@@ -513,7 +528,7 @@ prepare() {
echo "Enable WINE FASTSYNC"
scripts/config --enable CONFIG_WINESYNC
-
+
### Optionally use running kernel's config
# code originally by nous; http://aur.archlinux.org/packages.php?ID=40191
if [ -n "$_use_current" ]; then
diff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFO
index 9246c6dd..f51767d6 100755
--- a/linux-cachyos-tt/.SRCINFO
+++ b/linux-cachyos-tt/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvements
- pkgver = 5.17.4
- pkgrel = 3
+ pkgver = 5.17.5
+ pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -24,7 +24,7 @@ pkgbase = linux-cachyos-tt
makedepends = make
makedepends = patch
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.4.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.5.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/sched/0001-tt.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch
@@ -36,35 +36,31 @@ pkgbase = linux-cachyos-tt
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-hwmon.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-lru-le9.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-spf-lru.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-xanmod.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-lrng.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-le9.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0016-ck-hrtimer.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0017-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-xanmod.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-ck-hrtimer.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-futex-winesync.patch
source = auto-cpu-optimization.sh
- sha256sums = 6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5
+ sha256sums = 9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987
sha256sums = 29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36
sha256sums = c048c4d43196d5d003897012b40da442d932f322b85e9805824450faa5df00ef
- sha256sums = e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8
- sha256sums = dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5
- sha256sums = 9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2
- sha256sums = 2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d
- sha256sums = 6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93
- sha256sums = 18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057
- sha256sums = 832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529
- sha256sums = 6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5
- sha256sums = be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a
- sha256sums = 9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419
- sha256sums = b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be
- sha256sums = 6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8
- sha256sums = b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7
- sha256sums = 354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc
- sha256sums = 93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d
- sha256sums = 3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa
- sha256sums = 3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622
+ sha256sums = ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b
+ sha256sums = b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421
+ sha256sums = 0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a
+ sha256sums = 8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb
+ sha256sums = e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e
+ sha256sums = fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542
+ sha256sums = d089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628
+ sha256sums = d94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823
+ sha256sums = 290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0
+ sha256sums = 4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88
+ sha256sums = 40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff
+ sha256sums = ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8
+ sha256sums = 71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62
+ sha256sums = f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc
+ sha256sums = 71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-cachyos-tt
diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILD
index 0a5f9cc8..a64459bd 100644
--- a/linux-cachyos-tt/PKGBUILD
+++ b/linux-cachyos-tt/PKGBUILD
@@ -26,6 +26,9 @@ _makenconfig=
# See, https://bugs.archlinux.org/task/31187
_NUMAdisable=y
+## Enable Anbox
+_anbox=
+
# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
@@ -95,6 +98,9 @@ _nf_cone=y
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_use_llvm_lto=
+## Change the thin lto cachedir for fixing building several dkms modules including zfs
+_thin_lto_cachedir=
+
# Enable it for using the LLVM CFI PATCH for a better security
_use_cfi=
@@ -104,7 +110,7 @@ else
pkgbase=linux-cachyos-${_cpusched}
fi
_major=5.17
-_minor=4
+_minor=5
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -115,7 +121,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux TT scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=3
+pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -124,6 +130,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -161,16 +169,20 @@ source+=(
"${_patchsource}/0007-fixes-miscellaneous.patch"
"${_patchsource}/0008-fs-patches.patch"
"${_patchsource}/0009-hwmon.patch"
- "${_patchsource}/0010-MG-LRU.patch"
+ "${_patchsource}/0010-lru-le9.patch"
"${_patchsource}/0011-spf-lru.patch"
- "${_patchsource}/0012-v4l2loopback.patch"
- "${_patchsource}/0013-xanmod.patch"
- "${_patchsource}/0014-lrng.patch"
- "${_patchsource}/0015-le9.patch"
- "${_patchsource}/0016-ck-hrtimer.patch"
- "${_patchsource}/0017-futex-winesync.patch"
+ "${_patchsource}/0012-xanmod.patch"
+ "${_patchsource}/0013-lrng.patch"
+ "${_patchsource}/0014-ck-hrtimer.patch"
+ "${_patchsource}/0015-futex-winesync.patch"
+# "${_patchsource}/0017-FG-KASLR.patch"
+# "${_patchsource}/0018-zstd-dev.patch" # Don't use them without custom mkinitcpio
"auto-cpu-optimization.sh"
)
+ ## Change the thin lto cachedir for fixing building several dkms modules
+if [ -n "$_thin_lto_cachedir" ] && [ "$_use_llvm_lto" = "thin" ]; then
+ source+=("${_patchsource}/0016-thinlto-cache-dir.patch ")
+fi
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
@@ -249,6 +261,7 @@ prepare() {
exit
fi
+ ## Enable it for using the LLVM CFI PATCH for a better security
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
echo "Enabling CFI"
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
@@ -492,12 +505,15 @@ prepare() {
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
fi
- echo "Enable Anbox..."
- scripts/config --enable CONFIG_ASHMEM
- scripts/config --enable CONFIG_ANDROID
- scripts/config --enable CONFIG_ANDROID_BINDER_IPC
- scripts/config --enable CONFIG_ANDROID_BINDERFS
- scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ ## Enable Anbox Support
+ if [ -n "$_anbox" ]; then
+ echo "Enable Anbox..."
+ scripts/config --enable CONFIG_ASHMEM
+ scripts/config --enable CONFIG_ANDROID
+ scripts/config --enable CONFIG_ANDROID_BINDER_IPC
+ scripts/config --enable CONFIG_ANDROID_BINDERFS
+ scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ fi
echo "disable debugging features to reduce the size..."
scripts/config --disable CONFIG_DEBUG_INFO
@@ -686,24 +702,22 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5'
+sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
'29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36'
'c048c4d43196d5d003897012b40da442d932f322b85e9805824450faa5df00ef'
- 'e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8'
- 'dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5'
- '9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2'
- '2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d'
- '6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93'
- '18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057'
- '832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529'
- '6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5'
- 'be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a'
- '9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419'
- 'b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be'
- '6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8'
- 'b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7'
- '354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc'
- '93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d'
- '3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa'
- '3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622'
+ 'ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b'
+ 'b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421'
+ '0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a'
+ '8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb'
+ 'e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e'
+ 'fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542'
+ 'd089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628'
+ 'd94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823'
+ '290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0'
+ '4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88'
+ '40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff'
+ 'ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8'
+ '71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62'
+ 'f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc'
+ '71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFO
index 085fe811..053fba95 100755
--- a/linux-cachyos/.SRCINFO
+++ b/linux-cachyos/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cachyos
pkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvements
- pkgver = 5.17.4
- pkgrel = 3
+ pkgver = 5.17.5
+ pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -24,7 +24,7 @@ pkgbase = linux-cachyos
makedepends = make
makedepends = patch
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.4.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.5.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0002-anbox.patch
@@ -35,34 +35,30 @@ pkgbase = linux-cachyos
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-hwmon.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-lru-le9.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-spf-lru.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-xanmod.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-lrng.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-le9.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0016-ck-hrtimer.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0017-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-xanmod.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-ck-hrtimer.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-futex-winesync.patch
source = auto-cpu-optimization.sh
- sha256sums = 6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5
+ sha256sums = 9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987
sha256sums = 29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36
- sha256sums = e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8
- sha256sums = dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5
- sha256sums = 9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2
- sha256sums = 2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d
- sha256sums = 6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93
- sha256sums = 18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057
- sha256sums = 832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529
- sha256sums = 6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5
- sha256sums = be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a
- sha256sums = 9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419
- sha256sums = b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be
- sha256sums = 6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8
- sha256sums = b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7
- sha256sums = 354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc
- sha256sums = 93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d
- sha256sums = 3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa
- sha256sums = 3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622
+ sha256sums = ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b
+ sha256sums = b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421
+ sha256sums = 0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a
+ sha256sums = 8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb
+ sha256sums = e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e
+ sha256sums = fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542
+ sha256sums = d089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628
+ sha256sums = d94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823
+ sha256sums = 290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0
+ sha256sums = 4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88
+ sha256sums = 40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff
+ sha256sums = ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8
+ sha256sums = 71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62
+ sha256sums = f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc
+ sha256sums = 71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-cachyos
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index a7115a49..5938b5df 100644
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -26,6 +26,9 @@ _makenconfig=
# See, https://bugs.archlinux.org/task/31187
_NUMAdisable=y
+## Enable Anbox
+_anbox=
+
# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
@@ -95,6 +98,9 @@ _nf_cone=y
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_use_llvm_lto=
+## Change the thin lto cachedir for fixing building several dkms modules including zfs
+_thin_lto_cachedir=
+
# Enable it for using the LLVM CFI PATCH for a better security
_use_cfi=
@@ -104,7 +110,7 @@ else
pkgbase=linux-cachyos
fi
_major=5.17
-_minor=4
+_minor=5
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -115,7 +121,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux CFS scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=3
+pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -124,6 +130,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -161,16 +169,20 @@ source+=(
"${_patchsource}/0007-fixes-miscellaneous.patch"
"${_patchsource}/0008-fs-patches.patch"
"${_patchsource}/0009-hwmon.patch"
- "${_patchsource}/0010-MG-LRU.patch"
+ "${_patchsource}/0010-lru-le9.patch"
"${_patchsource}/0011-spf-lru.patch"
- "${_patchsource}/0012-v4l2loopback.patch"
- "${_patchsource}/0013-xanmod.patch"
- "${_patchsource}/0014-lrng.patch"
- "${_patchsource}/0015-le9.patch"
- "${_patchsource}/0016-ck-hrtimer.patch"
- "${_patchsource}/0017-futex-winesync.patch"
+ "${_patchsource}/0012-xanmod.patch"
+ "${_patchsource}/0013-lrng.patch"
+ "${_patchsource}/0014-ck-hrtimer.patch"
+ "${_patchsource}/0015-futex-winesync.patch"
+# "${_patchsource}/0017-FG-KASLR.patch"
+# "${_patchsource}/0018-zstd-dev.patch" # Don't use them without custom mkinitcpio
"auto-cpu-optimization.sh"
)
+ ## Change the thin lto cachedir for fixing building several dkms modules
+if [ -n "$_thin_lto_cachedir" ] && [ "$_use_llvm_lto" = "thin" ]; then
+ source+=("${_patchsource}/0016-thinlto-cache-dir.patch ")
+fi
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
@@ -249,6 +261,7 @@ prepare() {
exit
fi
+ ## Enable it for using the LLVM CFI PATCH for a better security
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
echo "Enabling CFI"
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
@@ -492,12 +505,15 @@ prepare() {
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
fi
- echo "Enable Anbox..."
- scripts/config --enable CONFIG_ASHMEM
- scripts/config --enable CONFIG_ANDROID
- scripts/config --enable CONFIG_ANDROID_BINDER_IPC
- scripts/config --enable CONFIG_ANDROID_BINDERFS
- scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ ## Enable Anbox Support
+ if [ -n "$_anbox" ]; then
+ echo "Enable Anbox..."
+ scripts/config --enable CONFIG_ASHMEM
+ scripts/config --enable CONFIG_ANDROID
+ scripts/config --enable CONFIG_ANDROID_BINDER_IPC
+ scripts/config --enable CONFIG_ANDROID_BINDERFS
+ scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ fi
echo "disable debugging features to reduce the size..."
scripts/config --disable CONFIG_DEBUG_INFO
@@ -686,23 +702,21 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5'
+sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
'29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36'
- 'e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8'
- 'dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5'
- '9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2'
- '2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d'
- '6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93'
- '18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057'
- '832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529'
- '6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5'
- 'be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a'
- '9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419'
- 'b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be'
- '6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8'
- 'b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7'
- '354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc'
- '93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d'
- '3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa'
- '3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622'
+ 'ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b'
+ 'b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421'
+ '0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a'
+ '8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb'
+ 'e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e'
+ 'fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542'
+ 'd089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628'
+ 'd94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823'
+ '290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0'
+ '4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88'
+ '40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff'
+ 'ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8'
+ '71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62'
+ 'f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc'
+ '71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
diff --git a/linux-cacule-rdb/.SRCINFO b/linux-cacule-rdb/.SRCINFO
index 8606b191..32e89647 100755
--- a/linux-cacule-rdb/.SRCINFO
+++ b/linux-cacule-rdb/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cacule-rdb
pkgdesc = Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvements
- pkgver = 5.17.4
- pkgrel = 3
+ pkgver = 5.17.5
+ pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -24,7 +24,7 @@ pkgbase = linux-cacule-rdb
makedepends = make
makedepends = patch
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.4.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.5.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/sched/0001-cacULE.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch
@@ -36,35 +36,31 @@ pkgbase = linux-cacule-rdb
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-hwmon.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-lru-le9.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-spf-lru.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-xanmod.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-lrng.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-le9.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0016-ck-hrtimer.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0017-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-xanmod.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-ck-hrtimer.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-futex-winesync.patch
source = auto-cpu-optimization.sh
- sha256sums = 6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5
+ sha256sums = 9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987
sha256sums = 341d996a829058d17393f4d0cbfdb23c7a7a68ee682fd70cb8e37d27af63efa5
sha256sums = 6ca8fa67a30513e47b2f4dc8566a7297741404195430b589624409d9608b3710
- sha256sums = e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8
- sha256sums = dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5
- sha256sums = 9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2
- sha256sums = 2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d
- sha256sums = 6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93
- sha256sums = 18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057
- sha256sums = 832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529
- sha256sums = 6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5
- sha256sums = be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a
- sha256sums = 9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419
- sha256sums = b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be
- sha256sums = 6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8
- sha256sums = b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7
- sha256sums = 354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc
- sha256sums = 93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d
- sha256sums = 3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa
- sha256sums = 3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622
+ sha256sums = ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b
+ sha256sums = b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421
+ sha256sums = 0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a
+ sha256sums = 8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb
+ sha256sums = e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e
+ sha256sums = fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542
+ sha256sums = d089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628
+ sha256sums = d94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823
+ sha256sums = 290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0
+ sha256sums = 4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88
+ sha256sums = 40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff
+ sha256sums = ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8
+ sha256sums = 71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62
+ sha256sums = f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc
+ sha256sums = 71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-cacule-rdb
diff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILD
index 7b5eb73e..3e96c1b7 100644
--- a/linux-cacule-rdb/PKGBUILD
+++ b/linux-cacule-rdb/PKGBUILD
@@ -26,6 +26,9 @@ _makenconfig=
# See, https://bugs.archlinux.org/task/31187
_NUMAdisable=y
+## Enable Anbox
+_anbox=
+
# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
@@ -95,6 +98,9 @@ _nf_cone=y
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_use_llvm_lto=
+## Change the thin lto cachedir for fixing building several dkms modules including zfs
+_thin_lto_cachedir=
+
# Enable it for using the LLVM CFI PATCH for a better security
_use_cfi=
@@ -104,7 +110,7 @@ else
pkgbase=linux-${_cpusched}
fi
_major=5.17
-_minor=4
+_minor=5
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -115,7 +121,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=3
+pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -124,6 +130,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -161,16 +169,20 @@ source+=(
"${_patchsource}/0007-fixes-miscellaneous.patch"
"${_patchsource}/0008-fs-patches.patch"
"${_patchsource}/0009-hwmon.patch"
- "${_patchsource}/0010-MG-LRU.patch"
+ "${_patchsource}/0010-lru-le9.patch"
"${_patchsource}/0011-spf-lru.patch"
- "${_patchsource}/0012-v4l2loopback.patch"
- "${_patchsource}/0013-xanmod.patch"
- "${_patchsource}/0014-lrng.patch"
- "${_patchsource}/0015-le9.patch"
- "${_patchsource}/0016-ck-hrtimer.patch"
- "${_patchsource}/0017-futex-winesync.patch"
+ "${_patchsource}/0012-xanmod.patch"
+ "${_patchsource}/0013-lrng.patch"
+ "${_patchsource}/0014-ck-hrtimer.patch"
+ "${_patchsource}/0015-futex-winesync.patch"
+# "${_patchsource}/0017-FG-KASLR.patch"
+# "${_patchsource}/0018-zstd-dev.patch" # Don't use them without custom mkinitcpio
"auto-cpu-optimization.sh"
)
+ ## Change the thin lto cachedir for fixing building several dkms modules
+if [ -n "$_thin_lto_cachedir" ] && [ "$_use_llvm_lto" = "thin" ]; then
+ source+=("${_patchsource}/0016-thinlto-cache-dir.patch ")
+fi
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
@@ -249,6 +261,7 @@ prepare() {
exit
fi
+ ## Enable it for using the LLVM CFI PATCH for a better security
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
echo "Enabling CFI"
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
@@ -492,12 +505,15 @@ prepare() {
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
fi
- echo "Enable Anbox..."
- scripts/config --enable CONFIG_ASHMEM
- scripts/config --enable CONFIG_ANDROID
- scripts/config --enable CONFIG_ANDROID_BINDER_IPC
- scripts/config --enable CONFIG_ANDROID_BINDERFS
- scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ ## Enable Anbox Support
+ if [ -n "$_anbox" ]; then
+ echo "Enable Anbox..."
+ scripts/config --enable CONFIG_ASHMEM
+ scripts/config --enable CONFIG_ANDROID
+ scripts/config --enable CONFIG_ANDROID_BINDER_IPC
+ scripts/config --enable CONFIG_ANDROID_BINDERFS
+ scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ fi
echo "disable debugging features to reduce the size..."
scripts/config --disable CONFIG_DEBUG_INFO
@@ -516,6 +532,7 @@ prepare() {
echo "Enable WINE FASTSYNC"
scripts/config --enable CONFIG_WINESYNC
+
### Optionally use running kernel's config
# code originally by nous; http://aur.archlinux.org/packages.php?ID=40191
if [ -n "$_use_current" ]; then
@@ -685,24 +702,22 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5'
+sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
'341d996a829058d17393f4d0cbfdb23c7a7a68ee682fd70cb8e37d27af63efa5'
'6ca8fa67a30513e47b2f4dc8566a7297741404195430b589624409d9608b3710'
- 'e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8'
- 'dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5'
- '9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2'
- '2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d'
- '6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93'
- '18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057'
- '832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529'
- '6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5'
- 'be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a'
- '9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419'
- 'b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be'
- '6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8'
- 'b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7'
- '354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc'
- '93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d'
- '3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa'
- '3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622'
+ 'ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b'
+ 'b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421'
+ '0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a'
+ '8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb'
+ 'e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e'
+ 'fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542'
+ 'd089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628'
+ 'd94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823'
+ '290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0'
+ '4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88'
+ '40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff'
+ 'ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8'
+ '71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62'
+ 'f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc'
+ '71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
diff --git a/linux-cacule/.SRCINFO b/linux-cacule/.SRCINFO
index 5779ae37..b4e67e1b 100755
--- a/linux-cacule/.SRCINFO
+++ b/linux-cacule/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-cacule
pkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvements
- pkgver = 5.17.4
- pkgrel = 3
+ pkgver = 5.17.5
+ pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -24,7 +24,7 @@ pkgbase = linux-cacule
makedepends = make
makedepends = patch
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.4.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.5.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/sched/0001-cacULE.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch
@@ -36,35 +36,31 @@ pkgbase = linux-cacule
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-hwmon.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-lru-le9.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-spf-lru.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-xanmod.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-lrng.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-le9.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0016-ck-hrtimer.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0017-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-xanmod.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-ck-hrtimer.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-futex-winesync.patch
source = auto-cpu-optimization.sh
- sha256sums = 6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5
+ sha256sums = 9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987
sha256sums = 341d996a829058d17393f4d0cbfdb23c7a7a68ee682fd70cb8e37d27af63efa5
sha256sums = 6ca8fa67a30513e47b2f4dc8566a7297741404195430b589624409d9608b3710
- sha256sums = e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8
- sha256sums = dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5
- sha256sums = 9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2
- sha256sums = 2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d
- sha256sums = 6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93
- sha256sums = 18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057
- sha256sums = 832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529
- sha256sums = 6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5
- sha256sums = be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a
- sha256sums = 9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419
- sha256sums = b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be
- sha256sums = 6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8
- sha256sums = b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7
- sha256sums = 354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc
- sha256sums = 93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d
- sha256sums = 3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa
- sha256sums = 3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622
+ sha256sums = ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b
+ sha256sums = b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421
+ sha256sums = 0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a
+ sha256sums = 8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb
+ sha256sums = e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e
+ sha256sums = fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542
+ sha256sums = d089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628
+ sha256sums = d94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823
+ sha256sums = 290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0
+ sha256sums = 4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88
+ sha256sums = 40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff
+ sha256sums = ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8
+ sha256sums = 71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62
+ sha256sums = f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc
+ sha256sums = 71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-cacule
diff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILD
index c7f2b148..4f01f98e 100644
--- a/linux-cacule/PKGBUILD
+++ b/linux-cacule/PKGBUILD
@@ -26,6 +26,9 @@ _makenconfig=
# See, https://bugs.archlinux.org/task/31187
_NUMAdisable=y
+## Enable Anbox
+_anbox=
+
# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
@@ -95,6 +98,9 @@ _nf_cone=y
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_use_llvm_lto=
+## Change the thin lto cachedir for fixing building several dkms modules including zfs
+_thin_lto_cachedir=
+
# Enable it for using the LLVM CFI PATCH for a better security
_use_cfi=
@@ -104,7 +110,7 @@ else
pkgbase=linux-${_cpusched}
fi
_major=5.17
-_minor=4
+_minor=5
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -115,7 +121,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux cacULE scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=3
+pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -124,6 +130,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -161,16 +169,20 @@ source+=(
"${_patchsource}/0007-fixes-miscellaneous.patch"
"${_patchsource}/0008-fs-patches.patch"
"${_patchsource}/0009-hwmon.patch"
- "${_patchsource}/0010-MG-LRU.patch"
+ "${_patchsource}/0010-lru-le9.patch"
"${_patchsource}/0011-spf-lru.patch"
- "${_patchsource}/0012-v4l2loopback.patch"
- "${_patchsource}/0013-xanmod.patch"
- "${_patchsource}/0014-lrng.patch"
- "${_patchsource}/0015-le9.patch"
- "${_patchsource}/0016-ck-hrtimer.patch"
- "${_patchsource}/0017-futex-winesync.patch"
+ "${_patchsource}/0012-xanmod.patch"
+ "${_patchsource}/0013-lrng.patch"
+ "${_patchsource}/0014-ck-hrtimer.patch"
+ "${_patchsource}/0015-futex-winesync.patch"
+# "${_patchsource}/0017-FG-KASLR.patch"
+# "${_patchsource}/0018-zstd-dev.patch" # Don't use them without custom mkinitcpio
"auto-cpu-optimization.sh"
)
+ ## Change the thin lto cachedir for fixing building several dkms modules
+if [ -n "$_thin_lto_cachedir" ] && [ "$_use_llvm_lto" = "thin" ]; then
+ source+=("${_patchsource}/0016-thinlto-cache-dir.patch ")
+fi
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
@@ -249,6 +261,7 @@ prepare() {
exit
fi
+ ## Enable it for using the LLVM CFI PATCH for a better security
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
echo "Enabling CFI"
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
@@ -492,12 +505,15 @@ prepare() {
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
fi
- echo "Enable Anbox..."
- scripts/config --enable CONFIG_ASHMEM
- scripts/config --enable CONFIG_ANDROID
- scripts/config --enable CONFIG_ANDROID_BINDER_IPC
- scripts/config --enable CONFIG_ANDROID_BINDERFS
- scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ ## Enable Anbox Support
+ if [ -n "$_anbox" ]; then
+ echo "Enable Anbox..."
+ scripts/config --enable CONFIG_ASHMEM
+ scripts/config --enable CONFIG_ANDROID
+ scripts/config --enable CONFIG_ANDROID_BINDER_IPC
+ scripts/config --enable CONFIG_ANDROID_BINDERFS
+ scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ fi
echo "disable debugging features to reduce the size..."
scripts/config --disable CONFIG_DEBUG_INFO
@@ -686,24 +702,22 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5'
+sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
'341d996a829058d17393f4d0cbfdb23c7a7a68ee682fd70cb8e37d27af63efa5'
'6ca8fa67a30513e47b2f4dc8566a7297741404195430b589624409d9608b3710'
- 'e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8'
- 'dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5'
- '9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2'
- '2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d'
- '6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93'
- '18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057'
- '832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529'
- '6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5'
- 'be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a'
- '9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419'
- 'b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be'
- '6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8'
- 'b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7'
- '354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc'
- '93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d'
- '3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa'
- '3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622'
+ 'ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b'
+ 'b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421'
+ '0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a'
+ '8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb'
+ 'e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e'
+ 'fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542'
+ 'd089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628'
+ 'd94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823'
+ '290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0'
+ '4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88'
+ '40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff'
+ 'ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8'
+ '71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62'
+ 'f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc'
+ '71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
diff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFO
index 77c529cf..13242955 100755
--- a/linux-tt/.SRCINFO
+++ b/linux-tt/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = linux-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvements
- pkgver = 5.17.4
- pkgrel = 3
+ pkgver = 5.17.5
+ pkgrel = 1
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
@@ -24,7 +24,7 @@ pkgbase = linux-tt
makedepends = make
makedepends = patch
options = !strip
- source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.4.tar.xz
+ source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.17.5.tar.xz
source = config
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/sched/0001-tt.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-arch.patch
@@ -36,35 +36,31 @@ pkgbase = linux-tt
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0007-fixes-miscellaneous.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0008-fs-patches.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0009-hwmon.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-MG-LRU.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0010-lru-le9.patch
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0011-spf-lru.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-v4l2loopback.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-xanmod.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-lrng.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-le9.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0016-ck-hrtimer.patch
- source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0017-futex-winesync.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0012-xanmod.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0013-lrng.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0014-ck-hrtimer.patch
+ source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0015-futex-winesync.patch
source = auto-cpu-optimization.sh
- sha256sums = 6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5
+ sha256sums = 9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987
sha256sums = 341d996a829058d17393f4d0cbfdb23c7a7a68ee682fd70cb8e37d27af63efa5
sha256sums = c048c4d43196d5d003897012b40da442d932f322b85e9805824450faa5df00ef
- sha256sums = e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8
- sha256sums = dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5
- sha256sums = 9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2
- sha256sums = 2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d
- sha256sums = 6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93
- sha256sums = 18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057
- sha256sums = 832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529
- sha256sums = 6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5
- sha256sums = be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a
- sha256sums = 9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419
- sha256sums = b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be
- sha256sums = 6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8
- sha256sums = b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7
- sha256sums = 354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc
- sha256sums = 93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d
- sha256sums = 3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa
- sha256sums = 3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622
+ sha256sums = ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b
+ sha256sums = b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421
+ sha256sums = 0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a
+ sha256sums = 8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb
+ sha256sums = e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e
+ sha256sums = fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542
+ sha256sums = d089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628
+ sha256sums = d94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823
+ sha256sums = 290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0
+ sha256sums = 4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88
+ sha256sums = 40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff
+ sha256sums = ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8
+ sha256sums = 71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62
+ sha256sums = f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc
+ sha256sums = 71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
pkgname = linux-tt
diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILD
index 463204f4..4a486524 100644
--- a/linux-tt/PKGBUILD
+++ b/linux-tt/PKGBUILD
@@ -26,6 +26,9 @@ _makenconfig=
# See, https://bugs.archlinux.org/task/31187
_NUMAdisable=y
+## Enable Anbox
+_anbox=
+
# Compile ONLY used modules to VASTLYreduce the number of modules built
# and the build time.
#
@@ -95,6 +98,9 @@ _nf_cone=y
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
_use_llvm_lto=
+## Change the thin lto cachedir for fixing building several dkms modules including zfs
+_thin_lto_cachedir=
+
# Enable it for using the LLVM CFI PATCH for a better security
_use_cfi=
@@ -104,7 +110,7 @@ else
pkgbase=linux-${_cpusched}
fi
_major=5.17
-_minor=4
+_minor=5
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
@@ -115,7 +121,7 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux TT scheduler Kernel by CachyOS with other patches and improvements'
-pkgrel=3
+pkgrel=1
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
@@ -124,6 +130,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -161,16 +169,20 @@ source+=(
"${_patchsource}/0007-fixes-miscellaneous.patch"
"${_patchsource}/0008-fs-patches.patch"
"${_patchsource}/0009-hwmon.patch"
- "${_patchsource}/0010-MG-LRU.patch"
+ "${_patchsource}/0010-lru-le9.patch"
"${_patchsource}/0011-spf-lru.patch"
- "${_patchsource}/0012-v4l2loopback.patch"
- "${_patchsource}/0013-xanmod.patch"
- "${_patchsource}/0014-lrng.patch"
- "${_patchsource}/0015-le9.patch"
- "${_patchsource}/0016-ck-hrtimer.patch"
- "${_patchsource}/0017-futex-winesync.patch"
+ "${_patchsource}/0012-xanmod.patch"
+ "${_patchsource}/0013-lrng.patch"
+ "${_patchsource}/0014-ck-hrtimer.patch"
+ "${_patchsource}/0015-futex-winesync.patch"
+# "${_patchsource}/0017-FG-KASLR.patch"
+# "${_patchsource}/0018-zstd-dev.patch" # Don't use them without custom mkinitcpio
"auto-cpu-optimization.sh"
)
+ ## Change the thin lto cachedir for fixing building several dkms modules
+if [ -n "$_thin_lto_cachedir" ] && [ "$_use_llvm_lto" = "thin" ]; then
+ source+=("${_patchsource}/0016-thinlto-cache-dir.patch ")
+fi
export KBUILD_BUILD_HOST=archlinux
export KBUILD_BUILD_USER=$pkgbase
@@ -249,6 +261,7 @@ prepare() {
exit
fi
+ ## Enable it for using the LLVM CFI PATCH for a better security
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
echo "Enabling CFI"
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
@@ -492,12 +505,15 @@ prepare() {
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
fi
- echo "Enable Anbox..."
- scripts/config --enable CONFIG_ASHMEM
- scripts/config --enable CONFIG_ANDROID
- scripts/config --enable CONFIG_ANDROID_BINDER_IPC
- scripts/config --enable CONFIG_ANDROID_BINDERFS
- scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ ## Enable Anbox Support
+ if [ -n "$_anbox" ]; then
+ echo "Enable Anbox..."
+ scripts/config --enable CONFIG_ASHMEM
+ scripts/config --enable CONFIG_ANDROID
+ scripts/config --enable CONFIG_ANDROID_BINDER_IPC
+ scripts/config --enable CONFIG_ANDROID_BINDERFS
+ scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
+ fi
echo "disable debugging features to reduce the size..."
scripts/config --disable CONFIG_DEBUG_INFO
@@ -686,24 +702,22 @@ for _p in "${pkgname[@]}"; do
}"
done
-sha256sums=('6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5'
+sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
'341d996a829058d17393f4d0cbfdb23c7a7a68ee682fd70cb8e37d27af63efa5'
'c048c4d43196d5d003897012b40da442d932f322b85e9805824450faa5df00ef'
- 'e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8'
- 'dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5'
- '9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2'
- '2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d'
- '6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93'
- '18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057'
- '832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529'
- '6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5'
- 'be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a'
- '9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419'
- 'b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be'
- '6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8'
- 'b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7'
- '354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc'
- '93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d'
- '3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa'
- '3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622'
+ 'ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b'
+ 'b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421'
+ '0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a'
+ '8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb'
+ 'e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e'
+ 'fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542'
+ 'd089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628'
+ 'd94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823'
+ '290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0'
+ '4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88'
+ '40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff'
+ 'ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8'
+ '71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62'
+ 'f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc'
+ '71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117'
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
diff --git a/script.sh b/script.sh
index 596ae730..baa83cb6 100755
--- a/script.sh
+++ b/script.sh
@@ -1,6 +1,7 @@
#!/usr/bin/env bash
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_auto_optimization=y/_use_auto_optimization=/" {}
+find . -name "config" | xargs -I {} sed -i 's/GENERIC_CPU=y/GENERIC_CPU3=y/' {}
files=$(find . -name "PKGBUILD")
@@ -10,14 +11,14 @@ do
d=$(dirname $f)
cd $d
- docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+ docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
docker rm kernelbuild
cd ..
done
mv */*.tar.zst* /home/ptr1337/packages/
-find . -name "config" | xargs -I {} sed -i 's/GENERIC_CPU=y/GENERIC_CPU3=y/' {}
+find . -name "config" | xargs -I {} sed -i 's/GENERIC_CPU3=y/GENERIC_CPU=y/' {}
files=$(find . -name "PKGBUILD")
@@ -36,7 +37,7 @@ mv */*.tar.zst* /home/ptr1337/packages/
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto=/_use_llvm_lto=thin/" {}
-
+find . -name "config" | xargs -I {} sed -i '$_thin_lto_cachedir=$_thin_lto_cachedir=y/' {}
files=$(find . -name "PKGBUILD")
@@ -51,7 +52,7 @@ done
mv */*.tar.zst* /home/ptr1337/packages/
-find . -name "config" | xargs -I {} sed -i 's/GENERIC_CPU3=y/GENERIC_CPU=y/' {}
+find . -name "config" | xargs -I {} sed -i 's/GENERIC_CPU=y/GENERIC_CPU3=y/' {}
files=$(find . -name "PKGBUILD")
diff --git a/zfs/.SRCINFO b/zfs/.SRCINFO
index 117db7f6..d8c12a02 100644
--- a/zfs/.SRCINFO
+++ b/zfs/.SRCINFO
@@ -1,14 +1,14 @@
pkgbase = linux-cachyos-zfs
pkgdesc = Kernel modules for the Zettabyte File System.
pkgver = 2.1.4
- pkgrel = 3
+ pkgrel = 4
url = http://zfsonlinux.org/
install = zfs.install
arch = x86_64
arch = x86_64_v3
license = CDDL
makedepends = linux-cachyos-headers
- depends = linux-cachyos=5.17.4-3
+ depends = linux-cachyos=5.17.5-1
depends = kmod
depends = zfs-utils=2.1.4
provides = zfs=2.1.4
diff --git a/zfs/PKGBUILD b/zfs/PKGBUILD
index 791d504e..bd1e9e5e 100644
--- a/zfs/PKGBUILD
+++ b/zfs/PKGBUILD
@@ -34,16 +34,15 @@ _use_llvm_lto=
if [ -n "$_use_llvm_lto" ]; then
_linuxpostfix=${_pkgcore}-lto
- export LLVM=1 LLVM_IAS=1 CC=clang LD=lld
else
_linuxpostfix=${_pkgcore}
fi
_linuxprefix=linux-${_linuxpostfix}
-_kernver=5.17.4-3
+_kernver=5.17.5-1
pkgname="${_linuxprefix}-zfs"
pkgver=2.1.4
-pkgrel=3
+pkgrel=4
pkgdesc='Kernel modules for the Zettabyte File System.'
arch=('x86_64' 'x86_64_v3')
url="http://zfsonlinux.org/"
@@ -58,6 +57,8 @@ sha256sums=('3b52c0d493f806f638dca87dde809f53861cd318c1ebb0e60daeaa061cf1acf6')
if [ -n "$_use_llvm_lto" ]; then
depends+=(clang llvm lld python)
BUILD_FLAGS=(
+ CC=clang
+ LD=ld.lld
LLVM=1
LLVM_IAS=1
)
@@ -71,7 +72,7 @@ build() {
--libexecdir=/usr/lib/zfs-${pkgver} --with-config=kernel \
--with-linux=/usr/lib/modules/${_kernver}-${_linuxpostfix}/build \
--with-linux-obj=/usr/lib/modules/${_kernver}-${_linuxpostfix}/build
- make
+ make ${BUILD_FLAGS[*]}
}
package(){
diff --git a/zfs/build-zfs.sh b/zfs/build-zfs.sh
index e7f7ee8f..490f747e 100644
--- a/zfs/build-zfs.sh
+++ b/zfs/build-zfs.sh
@@ -1,39 +1,121 @@
#!/usr/bin/env bash
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos/_pkgcore=cachyos-bore/" {}
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-bore/_pkgcore=cachyos-bmq/" {}
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-bmq/_pkgcore=cachyos-pds/" {}
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-pds/_pkgcore=cachyos-tt/" {}
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-tt/_pkgcore=cachyos-cacule/" {}
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-cacule/_pkgcore=tt/" {}
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=tt/_pkgcore=bore/" {}
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=bore/_pkgcore=cacule/" {}
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cacule/_pkgcore=cacule-rdb/" {}
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
## LTO ##
-find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-cacule/_pkgcore=cachyos/" {}
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cacule-rdb/_pkgcore=cachyos/" {}
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_use_llvm_lto=/_use_llvm_lto=thin/" {}
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos/_pkgcore=cachyos-bore/" {}
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-bore/_pkgcore=cachyos-bmq/" {}
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-bmq/_pkgcore=cachyos-pds/" {}
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-pds/_pkgcore=cachyos-tt/" {}
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-tt/_pkgcore=cachyos-cacule/" {}
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg
-docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-v3
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cachyos-cacule/_pkgcore=tt/" {}
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=tt/_pkgcore=bore/" {}
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=bore/_pkgcore=cacule/" {}
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild
+
+find . -name "PKGBUILD" | xargs -I {} sed -i "s/_pkgcore=cacule/_pkgcore=cacule-rdb/" {}
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel
+docker rm kernelbuild
+docker run --name kernelbuild -e EXPORT_PKG=1 -v $PWD:/pkg -v /home/ptr1337/ccache-kernel:/home/notroot/ccache pttrr/docker-makepkg-kernel-v3
+docker rm kernelbuild