5.17.5-1
This commit is contained in:
parent
861f6512f6
commit
9365981898
52
.SRCINFO
52
.SRCINFO
@ -1,7 +1,7 @@
|
|||||||
pkgbase = linux-cachyos
|
pkgbase = linux-cachyos
|
||||||
pkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvements
|
pkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvements
|
||||||
pkgver = 5.17.4
|
pkgver = 5.17.5
|
||||||
pkgrel = 3
|
pkgrel = 1
|
||||||
url = https://github.com/CachyOS/linux-cachyos
|
url = https://github.com/CachyOS/linux-cachyos
|
||||||
arch = x86_64
|
arch = x86_64
|
||||||
arch = x86_64_v3
|
arch = x86_64_v3
|
||||||
@ -24,7 +24,7 @@ pkgbase = linux-cachyos
|
|||||||
makedepends = make
|
makedepends = make
|
||||||
makedepends = patch
|
makedepends = patch
|
||||||
options = !strip
|
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 = 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/0001-arch.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0002-anbox.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/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/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/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/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/0012-xanmod.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/0013-lrng.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/0014-ck-hrtimer.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/0015-futex-winesync.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 = auto-cpu-optimization.sh
|
source = auto-cpu-optimization.sh
|
||||||
sha256sums = 6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5
|
sha256sums = 9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987
|
||||||
sha256sums = 29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36
|
sha256sums = 29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36
|
||||||
sha256sums = e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8
|
sha256sums = ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b
|
||||||
sha256sums = dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5
|
sha256sums = b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421
|
||||||
sha256sums = 9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2
|
sha256sums = 0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a
|
||||||
sha256sums = 2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d
|
sha256sums = 8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb
|
||||||
sha256sums = 6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93
|
sha256sums = e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e
|
||||||
sha256sums = 18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057
|
sha256sums = fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542
|
||||||
sha256sums = 832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529
|
sha256sums = d089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628
|
||||||
sha256sums = 6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5
|
sha256sums = d94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823
|
||||||
sha256sums = be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a
|
sha256sums = 290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0
|
||||||
sha256sums = 9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419
|
sha256sums = 4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88
|
||||||
sha256sums = b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be
|
sha256sums = 40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff
|
||||||
sha256sums = 6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8
|
sha256sums = ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8
|
||||||
sha256sums = b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7
|
sha256sums = 71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62
|
||||||
sha256sums = 354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc
|
sha256sums = f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc
|
||||||
sha256sums = 93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d
|
sha256sums = 71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117
|
||||||
sha256sums = 3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa
|
|
||||||
sha256sums = 3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622
|
|
||||||
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
|
sha256sums = 65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b
|
||||||
|
|
||||||
pkgname = linux-cachyos
|
pkgname = linux-cachyos
|
||||||
|
81
PKGBUILD
81
PKGBUILD
@ -26,6 +26,9 @@ _makenconfig=
|
|||||||
# See, https://bugs.archlinux.org/task/31187
|
# See, https://bugs.archlinux.org/task/31187
|
||||||
_NUMAdisable=y
|
_NUMAdisable=y
|
||||||
|
|
||||||
|
## Enable Anbox
|
||||||
|
_anbox=
|
||||||
|
|
||||||
# Compile ONLY used modules to VASTLYreduce the number of modules built
|
# Compile ONLY used modules to VASTLYreduce the number of modules built
|
||||||
# and the build time.
|
# 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."
|
# "thin: uses multiple threads, faster and uses less memory, may have a lower runtime performance than Full."
|
||||||
_use_llvm_lto=
|
_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
|
# Enable it for using the LLVM CFI PATCH for a better security
|
||||||
_use_cfi=
|
_use_cfi=
|
||||||
|
|
||||||
@ -104,7 +110,7 @@ else
|
|||||||
pkgbase=linux-cachyos
|
pkgbase=linux-cachyos
|
||||||
fi
|
fi
|
||||||
_major=5.17
|
_major=5.17
|
||||||
_minor=4
|
_minor=5
|
||||||
#_minorc=$((_minor+1))
|
#_minorc=$((_minor+1))
|
||||||
#_rcver=rc8
|
#_rcver=rc8
|
||||||
pkgver=${_major}.${_minor}
|
pkgver=${_major}.${_minor}
|
||||||
@ -115,7 +121,7 @@ _srcname=linux-${_stable}
|
|||||||
#_srcname=linux-${_major}
|
#_srcname=linux-${_major}
|
||||||
arch=(x86_64 x86_64_v3)
|
arch=(x86_64 x86_64_v3)
|
||||||
pkgdesc='Linux CFS scheduler Kernel by CachyOS with other patches and improvements'
|
pkgdesc='Linux CFS scheduler Kernel by CachyOS with other patches and improvements'
|
||||||
pkgrel=3
|
pkgrel=1
|
||||||
arch=('x86_64' 'x86_64_v3')
|
arch=('x86_64' 'x86_64_v3')
|
||||||
url="https://github.com/CachyOS/linux-cachyos"
|
url="https://github.com/CachyOS/linux-cachyos"
|
||||||
license=('GPL2')
|
license=('GPL2')
|
||||||
@ -124,6 +130,8 @@ makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz
|
|||||||
if [ -n "$_use_llvm_lto" ]; then
|
if [ -n "$_use_llvm_lto" ]; then
|
||||||
depends+=(clang llvm lld python)
|
depends+=(clang llvm lld python)
|
||||||
BUILD_FLAGS=(
|
BUILD_FLAGS=(
|
||||||
|
CC=clang
|
||||||
|
LD=ld.lld
|
||||||
LLVM=1
|
LLVM=1
|
||||||
LLVM_IAS=1
|
LLVM_IAS=1
|
||||||
)
|
)
|
||||||
@ -161,16 +169,21 @@ source+=(
|
|||||||
"${_patchsource}/0007-fixes-miscellaneous.patch"
|
"${_patchsource}/0007-fixes-miscellaneous.patch"
|
||||||
"${_patchsource}/0008-fs-patches.patch"
|
"${_patchsource}/0008-fs-patches.patch"
|
||||||
"${_patchsource}/0009-hwmon.patch"
|
"${_patchsource}/0009-hwmon.patch"
|
||||||
"${_patchsource}/0010-MG-LRU.patch"
|
"${_patchsource}/0010-lru-le9.patch"
|
||||||
"${_patchsource}/0011-spf-lru.patch"
|
"${_patchsource}/0011-spf-lru.patch"
|
||||||
"${_patchsource}/0012-v4l2loopback.patch"
|
"${_patchsource}/0012-xanmod.patch"
|
||||||
"${_patchsource}/0013-xanmod.patch"
|
"${_patchsource}/0013-lrng.patch"
|
||||||
"${_patchsource}/0014-lrng.patch"
|
"${_patchsource}/0014-ck-hrtimer.patch"
|
||||||
"${_patchsource}/0015-le9.patch"
|
"${_patchsource}/0015-futex-winesync.patch"
|
||||||
"${_patchsource}/0016-ck-hrtimer.patch"
|
# "${_patchsource}/0017-FG-KASLR.patch"
|
||||||
"${_patchsource}/0017-futex-winesync.patch"
|
# "${_patchsource}/0018-zstd-dev.patch" # Don't use them without custom mkinitcpio
|
||||||
"auto-cpu-optimization.sh"
|
"auto-cpu-optimization.sh"
|
||||||
)
|
)
|
||||||
|
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_HOST=archlinux
|
||||||
export KBUILD_BUILD_USER=$pkgbase
|
export KBUILD_BUILD_USER=$pkgbase
|
||||||
@ -249,6 +262,7 @@ prepare() {
|
|||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
## Enable it for using the LLVM CFI PATCH for a better security
|
||||||
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
|
if [ -n "$_use_cfi" ] && [ -n "$_use_llvm_lto" ]; then
|
||||||
echo "Enabling CFI"
|
echo "Enabling CFI"
|
||||||
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
|
scripts/config --enable CONFIG_ARCH_SUPPORTS_CFI_CLANG
|
||||||
@ -492,12 +506,15 @@ prepare() {
|
|||||||
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
|
scripts/config --set-str CONFIG_ZSWAP_COMPRESSOR_DEFAULT zstd
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Enable Anbox..."
|
## Enable Anbox Support
|
||||||
scripts/config --enable CONFIG_ASHMEM
|
if [ -n "$_anbox" ]; then
|
||||||
scripts/config --enable CONFIG_ANDROID
|
echo "Enable Anbox..."
|
||||||
scripts/config --enable CONFIG_ANDROID_BINDER_IPC
|
scripts/config --enable CONFIG_ASHMEM
|
||||||
scripts/config --enable CONFIG_ANDROID_BINDERFS
|
scripts/config --enable CONFIG_ANDROID
|
||||||
scripts/config --enable CONFIG_ANDROID_BINDER_DEVICES="binder,hwbinder,vndbinder"
|
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..."
|
echo "disable debugging features to reduce the size..."
|
||||||
scripts/config --disable CONFIG_DEBUG_INFO
|
scripts/config --disable CONFIG_DEBUG_INFO
|
||||||
@ -686,23 +703,21 @@ for _p in "${pkgname[@]}"; do
|
|||||||
}"
|
}"
|
||||||
done
|
done
|
||||||
|
|
||||||
sha256sums=('6e3cd56ee83a9cb5ac3fde1442c40367ab67368946c4c93bbeb1c65664a0d3c5'
|
sha256sums=('9bbcd185b94436f9c8fe977fa0e862f60d34003562327fcebb27c9fa342fe987'
|
||||||
'29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36'
|
'29c5dd2ae6b452b75b25816a8f6610fa2ff54f21b22a0ccef5c2e98a7077eb36'
|
||||||
'e7a81fb26bb61875c07ba83075522d3d1c1ed463581c7067404a91bc724340b8'
|
'ba45fa1a0de3d0c813358e381f5fe1105afd730fbcd8c9ba451b115448f7aa5b'
|
||||||
'dea401c0efff7f7979b91b1a32524646d0bab38191d70daf18924f944a4f1fd5'
|
'b0cfdc9867119d36cf2deaaa8efffca165fcf1a48c7fd5a28a2b2ec7c5026421'
|
||||||
'9962cab7ce58729912c70f2dce345d088c0c61f640e0bd9ee2975d571b08a0d2'
|
'0d4b9c288727e6e4c44ba53990538cf118d5a432e612e9060534ab077427848a'
|
||||||
'2abc3cd48db8e37cdaf3dd8e4bfd350a314ad91185b57faf78292c41620d1d7d'
|
'8ec8d66e06a1b5ca6a5ddf59a793b8af01d0e5ce4c5168e30b0b95aceb89dafb'
|
||||||
'6f291e71de3df52728933d2e04da6a59eb08c3bdb3012ebeae40f05183744b93'
|
'e71f3a80e83ff2a31cdc7533f1dcd4f4832f233346668fc5c86f60ec6d20a47e'
|
||||||
'18cfe65a2da89006f8aeb701a846a2e6ed2cac2e84b86cd7f6f9a25e988c4057'
|
'fcef8eb5b5d7f7dbc32fdc20d3b6764ec352b33079d96f9fd583d0f7094a1542'
|
||||||
'832781712c6c6a9523e1a9436f2131cc9f0b9d7131d44477c7e81739fc28e529'
|
'd089a0a3063b5fbccf7175e89ebc648c19a3d9eb74cb457d4685ca5cab092628'
|
||||||
'6d40f7697931628c7e55dff52248170f27230d4f6ab97a15d0432c4b5d3876d5'
|
'd94002f53ee9cdad412fc6f2c487cea97143a7b880335b2847d4acc2b6f4b823'
|
||||||
'be3e41373ab7a6f112b5ebd96f4c2b0550333192b54b587be43727bf82003a2a'
|
'290f75b6ce492c32c17f3c1a0fea7b2aa7228ceb91acb274922ea0fa9c768af0'
|
||||||
'9c701eda6fda419ceab4b9e7b21b9d6e2a1eb0844b65404fc04bc609778b7419'
|
'4375a07806c57819cadb5c91ba15169baacdda5a44425da4ac1e2d517c483a88'
|
||||||
'b03d9ea1b2a7e5687e6e954dd3f039c341fa4d69fb047ca688ffe5b953e977be'
|
'40500b27dc527563de24f029641bb108b829987dcbf7e441c299b3a1efc275ff'
|
||||||
'6cb2a9282ebb4fd53058d22f8159e10d1d8c321b7d17d0f2d761bdab7f88eaf8'
|
'ed3053a8bd1d4b855ef6ed3b0dd456cef15e38061dbb834624d62486c875b1c8'
|
||||||
'b64ccbec1080320fec7bfc3b55a6a2ebc33159d216039170ba58008ba7ec37b7'
|
'71b5ea3baa39520b5687a1b5265b722f2240590eb9d11336e7b145db7f1e9c62'
|
||||||
'354616dccd88c5227c276ddbf184c083c77d9cea9ac143993101d9e67b7f0cfc'
|
'f1fab7056f9f62b8c967bbd7d678adfc9ab20802c78d9aa9355cf6869ac699fc'
|
||||||
'93eca845542db214f113c72df69c456f53ea0e77e1db865124384939ecd76e2d'
|
'71e4b1f30c50a947bbf11167e00aaadcd97d3d5d4b06dce94b4f72cd3e776117'
|
||||||
'3a2f95a37b4614f05ac5a7c5d81a99555ba01b0b192667896006db8490cb89fa'
|
|
||||||
'3135986d57900333a3a8a685fd7ab816f76948f926b3a8e00613e4fe21a35622'
|
|
||||||
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
|
'65ec9ac5b8b28d5b61df1c72498059be2e7cb1f9b965bac0e4ffed3c05520b2b')
|
||||||
|
Loading…
Reference in New Issue
Block a user