Sync with CachyOS

Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
Piotr Gorski 2023-08-10 21:59:39 +02:00
parent d922033076
commit 9a4e6ca71e
No known key found for this signature in database
GPG Key ID: 79AFA05ABDB26C5A
2 changed files with 11 additions and 10 deletions

View File

@ -178,7 +178,7 @@ _stable=${_major}.${_minor}
_srcname=linux-${_stable} _srcname=linux-${_stable}
#_srcname=linux-${_major} #_srcname=linux-${_major}
pkgdesc='Linux EEVDF-BORE scheduler Kernel by CachyOS with other patches and improvements' pkgdesc='Linux EEVDF-BORE scheduler Kernel by CachyOS with other patches and improvements'
pkgrel=1 pkgrel=2
_kernver=$pkgver-$pkgrel _kernver=$pkgver-$pkgrel
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"
@ -200,7 +200,7 @@ source=(
"https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz" "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz"
"config" "config"
"auto-cpu-optimization.sh" "auto-cpu-optimization.sh"
"${_patchsource}/all/0001-cachyos-base-all.patch") "${_patchsource}/all/0001-cachyos-base-all-dev.patch")
# ZFS support # ZFS support
if [ -n "$_build_zfs" ]; then if [ -n "$_build_zfs" ]; then
@ -286,10 +286,10 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh "${srcdir}"/auto-cpu-optimization.sh
fi fi
### Disabling CONFIG_CPU_SRSO ### Disabling CONFIG_CPU_SRSO for LTO kernel
# More infos here: https://github.com/CachyOS/linux-cachyos/issues/150 # More infos here: https://github.com/CachyOS/linux-cachyos/issues/150
if [ "$_use_llvm_lto" != "none" ]; then if [ "$_use_llvm_lto" != "none" ]; then
echo "Disabling CONFIG_CPU_SRSO..." echo "Disabling CONFIG_CPU_SRSO for LTO kernel..."
scripts/config -d CPU_SRSO scripts/config -d CPU_SRSO
fi fi
@ -797,8 +797,8 @@ for _p in "${pkgname[@]}"; do
done done
b2sums=('87a05cae7d5dca89921801f69467ec01a871941f5dd1bd956bc9f13c4786b35a141811808b36e45471ee3bbe15d669d7114257759f3e5893d17ca38e40ebdc4b' b2sums=('87a05cae7d5dca89921801f69467ec01a871941f5dd1bd956bc9f13c4786b35a141811808b36e45471ee3bbe15d669d7114257759f3e5893d17ca38e40ebdc4b'
'846bb768495e38acc46c6777f5d15329d2f033968b9380fe5966b52aefc35b098ce57b9d2ab606294b4f675b53def2989e566d4d3ee4a5d68bcd818a9c7fb1af' 'f86d5bc428a0a3213b186fc16e05779256f243b097b37e69af10b4cce29a9fbcd5b4458b057a86a9aaf12659da7c44df711844cb3beda3f995aa2c2fe7435f17'
'11d2003b7d71258c4ca71d71c6b388f00fe9a2ddddc0270e304148396dadfd787a6cac1363934f37d0bfb098c7f5851a02ecb770e9663ffe57ff60746d532bd0' '11d2003b7d71258c4ca71d71c6b388f00fe9a2ddddc0270e304148396dadfd787a6cac1363934f37d0bfb098c7f5851a02ecb770e9663ffe57ff60746d532bd0'
'9961361f254d189f3b3bffa1276d19e4a1ba8f10454c247582469ee60ca3591f16f709ad1c51d60dafb799c5370f5d6818a5978264903e6517499cf3527aa04b' '1efda7a89a298b3c4a697fab1c21ab306c1e1f6d173c2726d294b3e9bf6d3c431a45f0e8308484d96aed8364756b71e3da6dc4506b40f32a6c92538a3f675481'
'11d5923512051c46477aab7ceddaa1fef962c8d503975e34e660acb1a9c7040b147a935ca3f6f5f7e5cadb37e32a1cd25ddd8fda00c403d6364f9612ceebdc1f' '11d5923512051c46477aab7ceddaa1fef962c8d503975e34e660acb1a9c7040b147a935ca3f6f5f7e5cadb37e32a1cd25ddd8fda00c403d6364f9612ceebdc1f'
'893d96b3f582a753cd9821ee78028ef923fbf1c46f45c1c26f76ec02715ae89cdd536c1ebf95d54fb4d4ef4da4f1560f6e6136fd528489f703e41950c03a6dc3') '893d96b3f582a753cd9821ee78028ef923fbf1c46f45c1c26f76ec02715ae89cdd536c1ebf95d54fb4d4ef4da4f1560f6e6136fd528489f703e41950c03a6dc3')

9
config
View File

@ -2,14 +2,14 @@
# Automatically generated file; DO NOT EDIT. # Automatically generated file; DO NOT EDIT.
# Linux/x86 6.4.9 Kernel Configuration # Linux/x86 6.4.9 Kernel Configuration
# #
CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.1.1 20230525" CONFIG_CC_VERSION_TEXT="gcc (GCC) 13.2.1 20230730"
CONFIG_CC_IS_GCC=y CONFIG_CC_IS_GCC=y
CONFIG_GCC_VERSION=130101 CONFIG_GCC_VERSION=130201
CONFIG_CLANG_VERSION=0 CONFIG_CLANG_VERSION=0
CONFIG_AS_IS_GNU=y CONFIG_AS_IS_GNU=y
CONFIG_AS_VERSION=24000 CONFIG_AS_VERSION=24100
CONFIG_LD_IS_BFD=y CONFIG_LD_IS_BFD=y
CONFIG_LD_VERSION=24000 CONFIG_LD_VERSION=24100
CONFIG_LLD_VERSION=0 CONFIG_LLD_VERSION=0
CONFIG_RUST_IS_AVAILABLE=y CONFIG_RUST_IS_AVAILABLE=y
CONFIG_CC_CAN_LINK=y CONFIG_CC_CAN_LINK=y
@ -729,6 +729,7 @@ CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
CONFIG_X86_INTEL_PSTATE=y CONFIG_X86_INTEL_PSTATE=y
CONFIG_X86_PCC_CPUFREQ=m CONFIG_X86_PCC_CPUFREQ=m
CONFIG_X86_AMD_PSTATE=y CONFIG_X86_AMD_PSTATE=y
CONFIG_X86_AMD_PSTATE_DEFAULT_MODE=3
CONFIG_X86_AMD_PSTATE_UT=m CONFIG_X86_AMD_PSTATE_UT=m
CONFIG_X86_ACPI_CPUFREQ=m CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y CONFIG_X86_ACPI_CPUFREQ_CPB=y