From 858e42ce69984e040284b02ef2abd89d9467b9b0 Mon Sep 17 00:00:00 2001 From: Eric Naim Date: Mon, 18 Nov 2024 20:43:41 +0800 Subject: [PATCH] linux-cachyos-autofdo: 6.12.0 Signed-off-by: Eric Naim --- linux-cachyos-autofdo/PKGBUILD | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/linux-cachyos-autofdo/PKGBUILD b/linux-cachyos-autofdo/PKGBUILD index db786a78..bc67fbbe 100644 --- a/linux-cachyos-autofdo/PKGBUILD +++ b/linux-cachyos-autofdo/PKGBUILD @@ -175,11 +175,11 @@ pkgbase="linux-$_pkgsuffix" _major=6.12 _minor=0 #_minorc=$((_minor+1)) -_rcver=rc7 -pkgver=${_major}.${_rcver} +#_rcver=rc7 +pkgver=${_major}.${_minor} #_stable=${_major}.${_minor} -#_stable=${_major} -_stable=${_major}-${_rcver} +_stable=${_major} +#_stable=${_major}-${_rcver} _srcname=linux-${_stable} #_srcname=linux-${_major} pkgdesc='Linux BORE + LTO + AutoFDO + Cachy Sauce Kernel by CachyOS with other patches and improvements (AutoFDO Optimized)' @@ -208,7 +208,7 @@ _nv_ver=565.57.01 _nv_pkg="NVIDIA-Linux-x86_64-${_nv_ver}" _nv_open_pkg="open-gpu-kernel-modules-${_nv_ver}" source=( - "https://github.com/torvalds/linux/archive/refs/tags/v${_major}-${_rcver}.tar.gz" + "https://cdn.kernel.org/pub/linux/kernel/v${pkgver%%.*}.x/${_srcname}.tar.xz" "config" "auto-cpu-optimization.sh" "${_patchsource}/all/0001-cachyos-base-all.patch") @@ -745,7 +745,7 @@ _package-zfs(){ cd "${srcdir}/zfs" install -dm755 "${modulesdir}" install -m644 module/*.ko "${modulesdir}" - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + # sed -i -e "s/EXTRAMODULES='.*'/EXTRAMODULES='${pkgver}-${pkgbase}'/" "$startdir/zfs.install" } @@ -763,7 +763,7 @@ _package-nvidia(){ install -dm755 "${modulesdir}" install -m644 kernel/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 LICENSE - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } _package-nvidia-open(){ @@ -781,7 +781,7 @@ _package-nvidia-open(){ install -m644 kernel-open/*.ko "${modulesdir}" install -Dt "$pkgdir/usr/share/licenses/${pkgname}" -m644 COPYING - find "$pkgdir" -name '*.ko' -exec zstd --rm -19 {} + + find "$pkgdir" -name '*.ko' -exec zstd --rm -19 -T0 {} + } pkgname=("$pkgbase")