This commit is contained in:
Peter Jung 2022-04-09 13:16:00 +00:00
parent 36bac2f56e
commit c5b1fc2948
No known key found for this signature in database
GPG Key ID: C3C4820857F654FE
3 changed files with 10 additions and 9 deletions

View File

@ -1,13 +1,13 @@
pkgbase = linux-cachyos
pkgdesc = Linux CFS scheduler Kernel by CachyOS and with other patches and improvements
pkgver = 5.17.2
pkgrel = 1
pkgrel = 2
url = https://github.com/CachyOS/linux-cachyos
arch = x86_64
arch = x86_64_v3
license = GPL2
makedepends = bc
makedepends = kmod
makedepends = texlive-latexextra
makedepends = libelf
makedepends = pahole
makedepends = cpio
@ -47,7 +47,7 @@ pkgbase = linux-cachyos
source = https://raw.githubusercontent.com/ptr1337/kernel-patches/master/5.17/0001-xanmod.patch
source = auto-cpu-optimization.sh
sha256sums = 2da20f8437cfe813ddee7dcb95e2c4e9e4e8f6168060c05787668ac3ff3f0b99
sha256sums = b596f261b422286312bd67865eee27975274d4475186d2b73680419d0d000afa
sha256sums = e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b
sha256sums = 01a80b483c4e0499fbd3f5ff8845ff49b7bd4ffdfd9b97ff38933a48e6f8cc8b
sha256sums = b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed
sha256sums = ec150c2d74c58de56ab230679fe4c27b63a8bb4180f57e1985ff7fe7dced0401

View File

@ -131,12 +131,12 @@ _srcname=linux-${_stable}
#_srcname=linux-${_major}
arch=(x86_64 x86_64_v3)
pkgdesc='Linux CFS scheduler Kernel by CachyOS and with other patches and improvements'
pkgrel=1
pkgrel=2
arch=('x86_64' 'x86_64_v3')
url="https://github.com/CachyOS/linux-cachyos"
license=('GPL2')
options=('!strip')
makedepends=('bc' 'kmod' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz' 'zstd' 'xmlto' 'git' 'gcc' 'gcc-libs' 'glibc' 'binutils' 'make' 'patch')
makedepends=('bc' 'texlive-latexextra' 'libelf' 'pahole' 'cpio' 'perl' 'tar' 'xz' 'zstd' 'xmlto' 'git' 'gcc' 'gcc-libs' 'glibc' 'binutils' 'make' 'patch')
if [ -n "$_use_llvm_lto" ]; then
depends=(clang llvm lld python)
fi
@ -586,8 +586,8 @@ _package() {
echo "$pkgbase" | install -Dm644 /dev/stdin "$modulesdir/pkgbase"
echo "Installing modules..."
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 modules_install
make INSTALL_MOD_PATH="$pkgdir/usr" INSTALL_MOD_STRIP=1 \
DEPMOD=/doesnt/exist modules_install # Suppress depmod
# remove build and source links
rm "$modulesdir"/{source,build}
}
@ -684,7 +684,7 @@ for _p in "${pkgname[@]}"; do
done
sha256sums=('2da20f8437cfe813ddee7dcb95e2c4e9e4e8f6168060c05787668ac3ff3f0b99'
'b596f261b422286312bd67865eee27975274d4475186d2b73680419d0d000afa'
'e7dc7b8f42990b667d7226cd9d07b1189e1355cbfdbe860016688763e6e28b8b'
'01a80b483c4e0499fbd3f5ff8845ff49b7bd4ffdfd9b97ff38933a48e6f8cc8b'
'b81d81435984662cc5948e5e26389402d6803ceb4cd3fe346f632fdf4c81f9ed'
'ec150c2d74c58de56ab230679fe4c27b63a8bb4180f57e1985ff7fe7dced0401'

3
config
View File

@ -688,7 +688,7 @@ CONFIG_CPU_FREQ_GOV_SCHEDUTIL=y
#
CONFIG_X86_INTEL_PSTATE=y
CONFIG_X86_PCC_CPUFREQ=m
CONFIG_X86_AMD_PSTATE=m
CONFIG_X86_AMD_PSTATE=y
CONFIG_X86_ACPI_CPUFREQ=m
CONFIG_X86_ACPI_CPUFREQ_CPB=y
CONFIG_X86_POWERNOW_K8=m
@ -3116,6 +3116,7 @@ CONFIG_NET_DSA_XRS700X=m
CONFIG_NET_DSA_XRS700X_I2C=m
CONFIG_NET_DSA_XRS700X_MDIO=m
CONFIG_NET_DSA_QCA8K=m
CONFIG_NET_DSA_REALTEK=m
CONFIG_NET_DSA_REALTEK_SMI=m
CONFIG_NET_DSA_SMSC_LAN9303=m
CONFIG_NET_DSA_SMSC_LAN9303_I2C=m