new patches, options and defaults
This commit is contained in:
parent
f2bc3682f4
commit
d16b39bb04
3 changed files with 24 additions and 35 deletions
22
.SRCINFO
22
.SRCINFO
|
@ -21,10 +21,11 @@ pkgbase = linux-cachyos
|
||||||
options = !strip
|
options = !strip
|
||||||
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.14.12.tar.xz
|
source = https://cdn.kernel.org/pub/linux/kernel/v5.x/linux-5.14.12.tar.xz
|
||||||
source = config
|
source = config
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/arch-patches-v10/0001-arch-patches.patch
|
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-CK-TIMER.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-CK-TIMER.patch
|
||||||
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/arch-patches-v10/0001-arch-patches.patch
|
||||||
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-preempt-hz-cfs.patch
|
||||||
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/amd/0006-amd-cppc.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/0008-remove-LightNVM.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/misc/0008-remove-LightNVM.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-misc.patch
|
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ll-patches/0004-mm-set-8-megabytes-for-address_space-level-file-read.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ll-patches/0004-mm-set-8-megabytes-for-address_space-level-file-read.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/bbr2-patches/0001-bbr2-5.14-introduce-BBRv2.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/bbr2-patches/0001-bbr2-5.14-introduce-BBRv2.patch
|
||||||
|
@ -33,8 +34,8 @@ pkgbase = linux-cachyos
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/fixes-miscellaneous-v6/0001-fixes-miscellaneous.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/fixes-miscellaneous-v6/0001-fixes-miscellaneous.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/futex-xanmod-patches-v2/0001-futex-resync-from-gitlab.collabora.com.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/futex-xanmod-patches-v2/0001-futex-resync-from-gitlab.collabora.com.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/futex2-xanmod-patches-v2/0001-futex2-resync-from-gitlab.collabora.com.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/futex2-xanmod-patches-v2/0001-futex2-resync-from-gitlab.collabora.com.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ksmbd-patches-v17/0001-ksmbd-patches.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ksmbd-patches-v18/0001-ksmbd-patches.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/hwmon-patches-v4/0001-hwmon-patches.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/hwmon-patches-v5/0001-hwmon-patches.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lqx-patches/0001-lqx-patches.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lqx-patches/0001-lqx-patches.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lrng-patches-v2/0001-lrng-patches.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lrng-patches-v2/0001-lrng-patches.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lru-patches-v4/0001-lru-patches.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/lru-patches-v4/0001-lru-patches.patch
|
||||||
|
@ -43,7 +44,7 @@ pkgbase = linux-cachyos
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zen-patches-v3/0001-zen-patches.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zen-patches-v3/0001-zen-patches.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zstd-patches-v2/0001-zstd-patches.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zstd-patches-v2/0001-zstd-patches.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/security-patches/0001-security-patches.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/security-patches/0001-security-patches.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zstd-upstream-patches-v7/0001-zstd-upstream-patches.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/zstd-upstream-patches-v6/0001-zstd-upstream-patches.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ntfs3-patches-v14/0001-ntfs3-patches.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/ntfs3-patches-v14/0001-ntfs3-patches.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-ksm.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-ksm.patch
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-cpu-patches.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-cpu-patches.patch
|
||||||
|
@ -51,11 +52,12 @@ pkgbase = linux-cachyos
|
||||||
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-v4l2loopback.patch
|
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.14/0001-v4l2loopback.patch
|
||||||
source = auto-cpu-optimization.sh
|
source = auto-cpu-optimization.sh
|
||||||
md5sums = a52286fe206a3f7664ca5a6c5995b9ed
|
md5sums = a52286fe206a3f7664ca5a6c5995b9ed
|
||||||
md5sums = a6dbc79077287df2279eaa66d54813ef
|
md5sums = 6918c6961e213ae5ee0c9d374bb9a06b
|
||||||
md5sums = 581faf85cd625c41bbdd0cadbd0e451e
|
|
||||||
md5sums = 04c5865e765e07cff0649824c2a8d810
|
md5sums = 04c5865e765e07cff0649824c2a8d810
|
||||||
|
md5sums = 581faf85cd625c41bbdd0cadbd0e451e
|
||||||
|
md5sums = f88c3290ece724c81921059df14965cf
|
||||||
|
md5sums = 430972ae1e936f99d8dc2a1f4fdaf774
|
||||||
md5sums = eb39a5681a153f5a1f5a67e8b9e957a5
|
md5sums = eb39a5681a153f5a1f5a67e8b9e957a5
|
||||||
md5sums = 552446adb1a3943570fedbb783115377
|
|
||||||
md5sums = f0d84fc024b9933bc19db696e0393a4e
|
md5sums = f0d84fc024b9933bc19db696e0393a4e
|
||||||
md5sums = e45c7962a78d6e82a0d3808868cd6ac0
|
md5sums = e45c7962a78d6e82a0d3808868cd6ac0
|
||||||
md5sums = 196d6ac961497aa880264b83160eb140
|
md5sums = 196d6ac961497aa880264b83160eb140
|
||||||
|
@ -64,8 +66,8 @@ pkgbase = linux-cachyos
|
||||||
md5sums = f364618bad6154856085c7025d388d3b
|
md5sums = f364618bad6154856085c7025d388d3b
|
||||||
md5sums = fd934f7d11131d5a5043e4aea640583b
|
md5sums = fd934f7d11131d5a5043e4aea640583b
|
||||||
md5sums = 8a96c5e8346bd5b430776ac8a41f96b0
|
md5sums = 8a96c5e8346bd5b430776ac8a41f96b0
|
||||||
md5sums = f71331c247285499ca42b63d707831a6
|
md5sums = 1b82eb13c4d3eaa368340b5a4f514ed1
|
||||||
md5sums = 3f3f573e48ed67d7acc0733e99a888a5
|
md5sums = 5c9334532387ae8df80cff9bb5890954
|
||||||
md5sums = 6787c78ba3e7b0a34fbba9c50da7e3b4
|
md5sums = 6787c78ba3e7b0a34fbba9c50da7e3b4
|
||||||
md5sums = 366c90b64f9582c0733b8fb607a07594
|
md5sums = 366c90b64f9582c0733b8fb607a07594
|
||||||
md5sums = 8adcaccbb5c0ebd4bc81144e16b92627
|
md5sums = 8adcaccbb5c0ebd4bc81144e16b92627
|
||||||
|
|
36
PKGBUILD
36
PKGBUILD
|
@ -42,9 +42,6 @@ _lrng_enable=y
|
||||||
## Samba3 Server
|
## Samba3 Server
|
||||||
_ksmbd_enable=
|
_ksmbd_enable=
|
||||||
|
|
||||||
# Tweak kernel options prior to a build via nconfig
|
|
||||||
_makenconfig=
|
|
||||||
|
|
||||||
|
|
||||||
## Apply Kernel automatic Optimization
|
## Apply Kernel automatic Optimization
|
||||||
_use_auto_optimization=y
|
_use_auto_optimization=y
|
||||||
|
@ -133,10 +130,11 @@ _patchsource="https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.
|
||||||
source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.xz"
|
source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver}.tar.xz"
|
||||||
"config"
|
"config"
|
||||||
# "${_patchsource}/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch"
|
# "${_patchsource}/arch-patches/0001-ZEN-Add-sysctl-and-CONFIG-to-disallow-unprivileged-C.patch"
|
||||||
"${_patchsource}/arch-patches-v10/0001-arch-patches.patch"
|
|
||||||
"${_patchsource}/0001-CK-TIMER.patch"
|
"${_patchsource}/0001-CK-TIMER.patch"
|
||||||
|
"${_patchsource}/arch-patches-v10/0001-arch-patches.patch"
|
||||||
|
"${_patchsource}/0001-preempt-hz-cfs.patch"
|
||||||
|
"${_patchsource}/misc/amd/0006-amd-cppc.patch"
|
||||||
"${_patchsource}/misc/0008-remove-LightNVM.patch"
|
"${_patchsource}/misc/0008-remove-LightNVM.patch"
|
||||||
"${_patchsource}/0001-misc.patch"
|
|
||||||
"${_patchsource}/ll-patches/0004-mm-set-8-megabytes-for-address_space-level-file-read.patch"
|
"${_patchsource}/ll-patches/0004-mm-set-8-megabytes-for-address_space-level-file-read.patch"
|
||||||
"${_patchsource}/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch"
|
"${_patchsource}/android-patches/0001-android-export-symbold-and-enable-building-ashmem-an.patch"
|
||||||
"${_patchsource}/bbr2-patches/0001-bbr2-5.14-introduce-BBRv2.patch"
|
"${_patchsource}/bbr2-patches/0001-bbr2-5.14-introduce-BBRv2.patch"
|
||||||
|
@ -145,8 +143,8 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver
|
||||||
"${_patchsource}/fixes-miscellaneous-v6/0001-fixes-miscellaneous.patch"
|
"${_patchsource}/fixes-miscellaneous-v6/0001-fixes-miscellaneous.patch"
|
||||||
"${_patchsource}/futex-xanmod-patches-v2/0001-futex-resync-from-gitlab.collabora.com.patch"
|
"${_patchsource}/futex-xanmod-patches-v2/0001-futex-resync-from-gitlab.collabora.com.patch"
|
||||||
"${_patchsource}/futex2-xanmod-patches-v2/0001-futex2-resync-from-gitlab.collabora.com.patch"
|
"${_patchsource}/futex2-xanmod-patches-v2/0001-futex2-resync-from-gitlab.collabora.com.patch"
|
||||||
"${_patchsource}/ksmbd-patches-v17/0001-ksmbd-patches.patch"
|
"${_patchsource}/ksmbd-patches-v18/0001-ksmbd-patches.patch"
|
||||||
"${_patchsource}/hwmon-patches-v4/0001-hwmon-patches.patch"
|
"${_patchsource}/hwmon-patches-v5/0001-hwmon-patches.patch"
|
||||||
"${_patchsource}/lqx-patches/0001-lqx-patches.patch"
|
"${_patchsource}/lqx-patches/0001-lqx-patches.patch"
|
||||||
"${_patchsource}/lrng-patches-v2/0001-lrng-patches.patch"
|
"${_patchsource}/lrng-patches-v2/0001-lrng-patches.patch"
|
||||||
"${_patchsource}/lru-patches-v4/0001-lru-patches.patch"
|
"${_patchsource}/lru-patches-v4/0001-lru-patches.patch"
|
||||||
|
@ -155,7 +153,7 @@ source=("https://cdn.kernel.org/pub/linux/kernel/v${pkgver:0:1}.x/linux-${pkgver
|
||||||
"${_patchsource}/zen-patches-v3/0001-zen-patches.patch"
|
"${_patchsource}/zen-patches-v3/0001-zen-patches.patch"
|
||||||
"${_patchsource}/zstd-patches-v2/0001-zstd-patches.patch"
|
"${_patchsource}/zstd-patches-v2/0001-zstd-patches.patch"
|
||||||
"${_patchsource}/security-patches/0001-security-patches.patch"
|
"${_patchsource}/security-patches/0001-security-patches.patch"
|
||||||
"${_patchsource}/zstd-upstream-patches-v7/0001-zstd-upstream-patches.patch"
|
"${_patchsource}/zstd-upstream-patches-v6/0001-zstd-upstream-patches.patch"
|
||||||
"${_patchsource}/ntfs3-patches-v14/0001-ntfs3-patches.patch"
|
"${_patchsource}/ntfs3-patches-v14/0001-ntfs3-patches.patch"
|
||||||
"${_patchsource}/0001-ksm.patch"
|
"${_patchsource}/0001-ksm.patch"
|
||||||
"${_patchsource}/0001-cpu-patches.patch"
|
"${_patchsource}/0001-cpu-patches.patch"
|
||||||
|
@ -252,14 +250,6 @@ prepare() {
|
||||||
scripts/config --set-val CONFIG_HZ 750
|
scripts/config --set-val CONFIG_HZ 750
|
||||||
fi
|
fi
|
||||||
|
|
||||||
### Optionally set tickrate to 600HZ
|
|
||||||
if [ -n "$_600_HZ_ticks" ]; then
|
|
||||||
echo "Setting tick rate to 600HZ..."
|
|
||||||
scripts/config --disable CONFIG_HZ_300
|
|
||||||
scripts/config --enable CONFIG_HZ_600
|
|
||||||
scripts/config --set-val CONFIG_HZ 600
|
|
||||||
fi
|
|
||||||
|
|
||||||
### Optionally set tickrate to 500HZ
|
### Optionally set tickrate to 500HZ
|
||||||
if [ -n "$_500_HZ_ticks" ]; then
|
if [ -n "$_500_HZ_ticks" ]; then
|
||||||
echo "Setting tick rate to 500HZ..."
|
echo "Setting tick rate to 500HZ..."
|
||||||
|
@ -431,9 +421,6 @@ prepare() {
|
||||||
echo "Enabling FULLCONENAT..."
|
echo "Enabling FULLCONENAT..."
|
||||||
scripts/config --module CONFIG_IP_NF_TARGET_FULLCONENAT
|
scripts/config --module CONFIG_IP_NF_TARGET_FULLCONENAT
|
||||||
scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENAT
|
scripts/config --module CONFIG_NETFILTER_XT_TARGET_FULLCONENAT
|
||||||
echo "Enable CFS ZENIFY"
|
|
||||||
scripts/config --enable CONFIG_ZEN_INTERACTIVE
|
|
||||||
|
|
||||||
echo "Setting performance governor..."
|
echo "Setting performance governor..."
|
||||||
scripts/config --disable CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
|
scripts/config --disable CONFIG_CPU_FREQ_DEFAULT_GOV_SCHEDUTIL
|
||||||
scripts/config --enable CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
|
scripts/config --enable CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE
|
||||||
|
@ -618,11 +605,12 @@ _package-headers() {
|
||||||
}
|
}
|
||||||
|
|
||||||
md5sums=('a52286fe206a3f7664ca5a6c5995b9ed'
|
md5sums=('a52286fe206a3f7664ca5a6c5995b9ed'
|
||||||
'a6dbc79077287df2279eaa66d54813ef'
|
'6918c6961e213ae5ee0c9d374bb9a06b'
|
||||||
'581faf85cd625c41bbdd0cadbd0e451e'
|
|
||||||
'04c5865e765e07cff0649824c2a8d810'
|
'04c5865e765e07cff0649824c2a8d810'
|
||||||
|
'581faf85cd625c41bbdd0cadbd0e451e'
|
||||||
|
'f88c3290ece724c81921059df14965cf'
|
||||||
|
'430972ae1e936f99d8dc2a1f4fdaf774'
|
||||||
'eb39a5681a153f5a1f5a67e8b9e957a5'
|
'eb39a5681a153f5a1f5a67e8b9e957a5'
|
||||||
'552446adb1a3943570fedbb783115377'
|
|
||||||
'f0d84fc024b9933bc19db696e0393a4e'
|
'f0d84fc024b9933bc19db696e0393a4e'
|
||||||
'e45c7962a78d6e82a0d3808868cd6ac0'
|
'e45c7962a78d6e82a0d3808868cd6ac0'
|
||||||
'196d6ac961497aa880264b83160eb140'
|
'196d6ac961497aa880264b83160eb140'
|
||||||
|
@ -631,8 +619,8 @@ md5sums=('a52286fe206a3f7664ca5a6c5995b9ed'
|
||||||
'f364618bad6154856085c7025d388d3b'
|
'f364618bad6154856085c7025d388d3b'
|
||||||
'fd934f7d11131d5a5043e4aea640583b'
|
'fd934f7d11131d5a5043e4aea640583b'
|
||||||
'8a96c5e8346bd5b430776ac8a41f96b0'
|
'8a96c5e8346bd5b430776ac8a41f96b0'
|
||||||
'f71331c247285499ca42b63d707831a6'
|
'1b82eb13c4d3eaa368340b5a4f514ed1'
|
||||||
'3f3f573e48ed67d7acc0733e99a888a5'
|
'5c9334532387ae8df80cff9bb5890954'
|
||||||
'6787c78ba3e7b0a34fbba9c50da7e3b4'
|
'6787c78ba3e7b0a34fbba9c50da7e3b4'
|
||||||
'366c90b64f9582c0733b8fb607a07594'
|
'366c90b64f9582c0733b8fb607a07594'
|
||||||
'8adcaccbb5c0ebd4bc81144e16b92627'
|
'8adcaccbb5c0ebd4bc81144e16b92627'
|
||||||
|
|
1
config
1
config
|
@ -533,7 +533,6 @@ CONFIG_EFI_MIXED=y
|
||||||
# CONFIG_HZ_100 is not set
|
# CONFIG_HZ_100 is not set
|
||||||
# CONFIG_HZ_250 is not set
|
# CONFIG_HZ_250 is not set
|
||||||
CONFIG_HZ_300=y
|
CONFIG_HZ_300=y
|
||||||
# CONFIG_HZ_600 is not set
|
|
||||||
# CONFIG_HZ_750 is not set
|
# CONFIG_HZ_750 is not set
|
||||||
# CONFIG_HZ_1000 is not set
|
# CONFIG_HZ_1000 is not set
|
||||||
# CONFIG_HZ_2000 is not set
|
# CONFIG_HZ_2000 is not set
|
||||||
|
|
Loading…
Add table
Reference in a new issue