mirror of
https://github.com/archlinux/aur.git
synced 2026-02-09 06:38:44 +01:00
Sync with Github
Signed-off-by: Piotr Gorski <lucjan.lucjanov@gmail.com>
This commit is contained in:
parent
839d791a04
commit
6c02b7ea38
3 changed files with 16 additions and 678 deletions
4
.SRCINFO
4
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = linux-cachyos-bore
|
||||
pkgdesc = Linux BORE + Cachy Sauce scheduler Kernel by CachyOS with other patches and improvements
|
||||
pkgver = 6.13.0
|
||||
pkgrel = 1
|
||||
pkgrel = 2
|
||||
url = https://github.com/CachyOS/linux-cachyos
|
||||
arch = x86_64
|
||||
license = GPL-2.0-only
|
||||
|
|
@ -24,7 +24,7 @@ pkgbase = linux-cachyos-bore
|
|||
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.13/all/0001-cachyos-base-all.patch
|
||||
source = https://raw.githubusercontent.com/cachyos/kernel-patches/master/6.13/sched/0001-bore-cachy.patch
|
||||
b2sums = 9f617ecb3f2393b57ba03c654fea62a7213f24c835989f333a1ef29492af551bfa7d9ad786d5ef1484854adc77c7c6af38fb09a72d994d305695f512c325e77f
|
||||
b2sums = e14bfa4e92fe8b49a01173263af1318d12c04d4963f4bd0352008c32d536663d6f014b171bd4f6cf777bcc10d46d353a5d3fea0f9865bb5ef92fb9972e4c9024
|
||||
b2sums = a0e5c4aeb9f2b7dbff9a907a85f21187108f417301963c7bf7af082d768dfc8495c3fb4eb6c3f61f32289f652a54e89b448c189ef997ca60159b238f34c727a2
|
||||
b2sums = 390c7b80608e9017f752b18660cc18ad1ec69f0aab41a2edfcfc26621dcccf5c7051c9d233d9bdf1df63d5f1589549ee0ba3a30e43148509d27dafa9102c19ab
|
||||
b2sums = 31a981030bfab628f50a73242c48c6beb92fe265df8365af4b77afa43931846678856f46b71cfca861b941f798a6978382ed6fd5f835f5bbd1e4e11f5ec34e20
|
||||
b2sums = 3ae7a58a83c5f36d02a7b5822628fea9a5513ec41e66966678fe17ef9a96af9356b21da4cf5e492188af19747b142e532fe79582062132901e3b8cc80bc5cdd3
|
||||
|
|
|
|||
56
PKGBUILD
56
PKGBUILD
|
|
@ -168,7 +168,7 @@ _stable=${_major}
|
|||
_srcname=linux-${_stable}
|
||||
#_srcname=linux-${_major}
|
||||
pkgdesc='Linux BORE + Cachy Sauce scheduler Kernel by CachyOS with other patches and improvements'
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
_kernver="$pkgver-$pkgrel"
|
||||
_kernuname="${pkgver}-${_pkgsuffix}"
|
||||
arch=('x86_64')
|
||||
|
|
@ -189,7 +189,7 @@ makedepends=(
|
|||
)
|
||||
|
||||
_patchsource="https://raw.githubusercontent.com/cachyos/kernel-patches/master/${_major}"
|
||||
_nv_ver=565.77
|
||||
_nv_ver=570.86.16
|
||||
_nv_pkg="NVIDIA-Linux-x86_64-${_nv_ver}"
|
||||
_nv_open_pkg="open-gpu-kernel-modules-${_nv_ver}"
|
||||
source=(
|
||||
|
|
@ -224,24 +224,13 @@ fi
|
|||
# NVIDIA pre-build module support
|
||||
if [ "$_build_nvidia" = "yes" ]; then
|
||||
source+=("https://us.download.nvidia.com/XFree86/Linux-x86_64/${_nv_ver}/${_nv_pkg}.run"
|
||||
"${_patchsource}/misc/nvidia/0001-Make-modeset-and-fbdev-default-enabled.patch"
|
||||
"${_patchsource}/misc/nvidia/0008-Kbuild-Use-absolute-paths-for-symbolic-links.patch"
|
||||
"${_patchsource}/misc/nvidia/0009-FROM-AOSC-Use-linux-aperture.c-for-removing-conflict.patch"
|
||||
"${_patchsource}/misc/nvidia/0010-FROM-AOSC-TTM-fbdev-emulation-for-Linux-6.13.patch")
|
||||
"${_patchsource}/misc/nvidia/0001-Make-modeset-and-fbdev-default-enabled.patch")
|
||||
fi
|
||||
|
||||
if [ "$_build_nvidia_open" = "yes" ]; then
|
||||
source+=("nvidia-open-${_nv_ver}.tar.gz::https://github.com/NVIDIA/open-gpu-kernel-modules/archive/refs/tags/${_nv_ver}.tar.gz"
|
||||
"${_patchsource}/misc/nvidia/0001-Make-modeset-and-fbdev-default-enabled.patch"
|
||||
"${_patchsource}/misc/nvidia/0002-Do-not-error-on-unkown-CPU-Type-and-add-Zen5-support.patch"
|
||||
"${_patchsource}/misc/nvidia/0003-Add-IBT-Support.patch"
|
||||
"${_patchsource}/misc/nvidia/0004-silence-event-assert-until-570.patch"
|
||||
"${_patchsource}/misc/nvidia/0005-nvkms-Sanitize-trim-ELD-product-name-strings.patch"
|
||||
"${_patchsource}/misc/nvidia/0006-crypto-Add-fix-for-6.13-Module-compilation.patch"
|
||||
"${_patchsource}/misc/nvidia/0007-nvidia-nv-Convert-symbol-namespace-to-string-literal.patch"
|
||||
"${_patchsource}/misc/nvidia/0008-Kbuild-Use-absolute-paths-for-symbolic-links.patch"
|
||||
"${_patchsource}/misc/nvidia/0009-FROM-AOSC-Use-linux-aperture.c-for-removing-conflict.patch"
|
||||
"${_patchsource}/misc/nvidia/0010-FROM-AOSC-TTM-fbdev-emulation-for-Linux-6.13.patch")
|
||||
"${_patchsource}/misc/nvidia/0003-Add-IBT-Support.patch")
|
||||
fi
|
||||
|
||||
## List of CachyOS schedulers
|
||||
|
|
@ -508,48 +497,13 @@ prepare() {
|
|||
|
||||
# Use fbdev and modeset as default
|
||||
patch -Np1 -i "${srcdir}/0001-Make-modeset-and-fbdev-default-enabled.patch" -d "${srcdir}/${_nv_pkg}/kernel"
|
||||
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/747
|
||||
patch -Np2 -i "${srcdir}/0008-Kbuild-Use-absolute-paths-for-symbolic-links.patch" -d "${srcdir}/${_nv_pkg}/kernel"
|
||||
|
||||
# Fixes fbdev on 6.13+
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/749
|
||||
# https://gist.github.com/xtexChooser/da92d9df902788b75f746f348552ae80
|
||||
patch -Np2 -i "${srcdir}/0009-FROM-AOSC-Use-linux-aperture.c-for-removing-conflict.patch" -d "${srcdir}/${_nv_pkg}/kernel"
|
||||
patch -Np2 -i "${srcdir}/0010-FROM-AOSC-TTM-fbdev-emulation-for-Linux-6.13.patch" -d "${srcdir}/${_nv_pkg}/kernel"
|
||||
fi
|
||||
|
||||
if [ "$_build_nvidia_open" = "yes" ]; then
|
||||
# Use fbdev and modeset as default
|
||||
patch -Np1 -i "${srcdir}/0001-Make-modeset-and-fbdev-default-enabled.patch" -d "${srcdir}/${_nv_open_pkg}/kernel-open"
|
||||
|
||||
# Fix for Zen5 error print in dmesg
|
||||
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/0002-Do-not-error-on-unkown-CPU-Type-and-add-Zen5-support.patch" -d "${srcdir}/${_nv_open_pkg}"
|
||||
|
||||
# Fix for https://bugs.archlinux.org/task/74886
|
||||
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/0003-Add-IBT-Support.patch" -d "${srcdir}/${_nv_open_pkg}"
|
||||
|
||||
# Fix for CS2 dmesg spam
|
||||
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/0004-silence-event-assert-until-570.patch" -d "${srcdir}/${_nv_open_pkg}"
|
||||
|
||||
# Fix for HDMI names
|
||||
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/0005-nvkms-Sanitize-trim-ELD-product-name-strings.patch" -d "${srcdir}/${_nv_open_pkg}"
|
||||
|
||||
# Fix build errors on 6.13+
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/746
|
||||
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/0006-crypto-Add-fix-for-6.13-Module-compilation.patch" -d "${srcdir}/${_nv_open_pkg}"
|
||||
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/751
|
||||
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/0007-nvidia-nv-Convert-symbol-namespace-to-string-literal.patch" -d "${srcdir}/${_nv_open_pkg}"
|
||||
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/747
|
||||
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/0008-Kbuild-Use-absolute-paths-for-symbolic-links.patch" -d "${srcdir}/${_nv_open_pkg}"
|
||||
|
||||
# Fixes fbdev on 6.13+
|
||||
# https://github.com/NVIDIA/open-gpu-kernel-modules/issues/749
|
||||
# https://gist.github.com/xtexChooser/da92d9df902788b75f746f348552ae80
|
||||
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/0009-FROM-AOSC-Use-linux-aperture.c-for-removing-conflict.patch" -d "${srcdir}/${_nv_open_pkg}"
|
||||
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/0010-FROM-AOSC-TTM-fbdev-emulation-for-Linux-6.13.patch" -d "${srcdir}/${_nv_open_pkg}"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
@ -782,7 +736,7 @@ for _p in "${pkgname[@]}"; do
|
|||
done
|
||||
|
||||
b2sums=('9f617ecb3f2393b57ba03c654fea62a7213f24c835989f333a1ef29492af551bfa7d9ad786d5ef1484854adc77c7c6af38fb09a72d994d305695f512c325e77f'
|
||||
'e14bfa4e92fe8b49a01173263af1318d12c04d4963f4bd0352008c32d536663d6f014b171bd4f6cf777bcc10d46d353a5d3fea0f9865bb5ef92fb9972e4c9024'
|
||||
'a0e5c4aeb9f2b7dbff9a907a85f21187108f417301963c7bf7af082d768dfc8495c3fb4eb6c3f61f32289f652a54e89b448c189ef997ca60159b238f34c727a2'
|
||||
'390c7b80608e9017f752b18660cc18ad1ec69f0aab41a2edfcfc26621dcccf5c7051c9d233d9bdf1df63d5f1589549ee0ba3a30e43148509d27dafa9102c19ab'
|
||||
'31a981030bfab628f50a73242c48c6beb92fe265df8365af4b77afa43931846678856f46b71cfca861b941f798a6978382ed6fd5f835f5bbd1e4e11f5ec34e20'
|
||||
'3ae7a58a83c5f36d02a7b5822628fea9a5513ec41e66966678fe17ef9a96af9356b21da4cf5e492188af19747b142e532fe79582062132901e3b8cc80bc5cdd3')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue