Skip to content

Commit

Permalink
6.11: Prepare for 6.11 Stable release
Browse files Browse the repository at this point in the history
Signed-off-by: Peter Jung <[email protected]>
  • Loading branch information
ptr1337 committed Sep 14, 2024
1 parent 07ecd94 commit 169288e
Show file tree
Hide file tree
Showing 6 changed files with 71 additions and 48 deletions.
20 changes: 12 additions & 8 deletions linux-cachyos-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; then
_pkgsuffix="cachyos-${_cpusched}"
pkgbase="linux-$_pkgsuffix"
fi
_major=6.10
_minor=10
_major=6.11
_minor=0
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
_stable=${_major}.${_minor}
#_stable=${_major}
#_stable=${_major}.${_minor}
_stable=${_major}
#_stablerc=${_major}-${_rcver}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
Expand Down Expand Up @@ -224,7 +224,8 @@ if [ -n "$_build_nvidia_open" ]; 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/make-modeset-fbdev-default.patch"
"${_patchsource}/misc/nvidia/nvidia-open-gcc-ibt-sls.patch"
"${_patchsource}/misc/nvidia/fix-zen5.patch")
"${_patchsource}/misc/nvidia/fix-zen5.patch"
"${_patchsource}/misc/nvidia/6.11-fbdev.patch")
fi

## List of CachyOS schedulers
Expand All @@ -233,7 +234,8 @@ case "$_cpusched" in
source+=("${_patchsource}/sched/0001-sched-ext.patch"
"${_patchsource}/sched/0001-bore-cachy-ext.patch");;
bore) ## BORE Scheduler
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
source+=("${_patchsource}/sched/0001-eevdf-next.patch"
"${_patchsource}/sched/0001-bore-cachy-next.patch");;
echo) ## ECHO Scheduler
source+=("${_patchsource}/sched/0001-echo-cachy.patch");;
rt) ## EEVDF with RT patches
Expand Down Expand Up @@ -271,6 +273,7 @@ prepare() {
[[ $src = make-modeset-fbdev-default.patch ]] && continue
[[ $src = nvidia-open-gcc-ibt-sls.patch ]] && continue
[[ $src = fix-zen5.patch ]] && continue
[[ $src = 6.11-fbdev.patch ]] && continue
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
Expand Down Expand Up @@ -324,8 +327,7 @@ prepare() {
### Enable KCFI
if [ -n "$_use_kcfi" ]; then
echo "Enabling kCFI"
scripts/config -e ARCH_SUPPORTS_CFI_CLANG \
-e CFI_CLANG
scripts/config -e ARCH_SUPPORTS_CFI_CLANG -e CFI_CLANG -e CFI_AUTO_DEFAULT
fi

### Select LLVM level
Expand Down Expand Up @@ -536,6 +538,8 @@ prepare() {
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/nvidia-open-gcc-ibt-sls.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix for Zen5 error print in dmesg
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/fix-zen5.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix broken fbdev on 6.11
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/6.11-fbdev.patch" -d "${srcdir}/${_nv_open_pkg}"
fi
}

Expand Down
20 changes: 12 additions & 8 deletions linux-cachyos-eevdf/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; then
_pkgsuffix="cachyos-${_cpusched}"
pkgbase="linux-$_pkgsuffix"
fi
_major=6.10
_minor=10
_major=6.11
_minor=0
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
_stable=${_major}.${_minor}
#_stable=${_major}
#_stable=${_major}.${_minor}
_stable=${_major}
#_stablerc=${_major}-${_rcver}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
Expand Down Expand Up @@ -224,7 +224,8 @@ if [ -n "$_build_nvidia_open" ]; 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/make-modeset-fbdev-default.patch"
"${_patchsource}/misc/nvidia/nvidia-open-gcc-ibt-sls.patch"
"${_patchsource}/misc/nvidia/fix-zen5.patch")
"${_patchsource}/misc/nvidia/fix-zen5.patch"
"${_patchsource}/misc/nvidia/6.11-fbdev.patch")
fi

## List of CachyOS schedulers
Expand All @@ -233,7 +234,8 @@ case "$_cpusched" in
source+=("${_patchsource}/sched/0001-sched-ext.patch"
"${_patchsource}/sched/0001-bore-cachy-ext.patch");;
bore) ## BORE Scheduler
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
source+=("${_patchsource}/sched/0001-eevdf-next.patch"
"${_patchsource}/sched/0001-bore-cachy-next.patch");;
echo) ## ECHO Scheduler
source+=("${_patchsource}/sched/0001-echo-cachy.patch");;
rt) ## EEVDF with RT patches
Expand Down Expand Up @@ -271,6 +273,7 @@ prepare() {
[[ $src = make-modeset-fbdev-default.patch ]] && continue
[[ $src = nvidia-open-gcc-ibt-sls.patch ]] && continue
[[ $src = fix-zen5.patch ]] && continue
[[ $src = 6.11-fbdev.patch ]] && continue
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
Expand Down Expand Up @@ -324,8 +327,7 @@ prepare() {
### Enable KCFI
if [ -n "$_use_kcfi" ]; then
echo "Enabling kCFI"
scripts/config -e ARCH_SUPPORTS_CFI_CLANG \
-e CFI_CLANG
scripts/config -e ARCH_SUPPORTS_CFI_CLANG -e CFI_CLANG -e CFI_AUTO_DEFAULT
fi

### Select LLVM level
Expand Down Expand Up @@ -536,6 +538,8 @@ prepare() {
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/nvidia-open-gcc-ibt-sls.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix for Zen5 error print in dmesg
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/fix-zen5.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix broken fbdev on 6.11
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/6.11-fbdev.patch" -d "${srcdir}/${_nv_open_pkg}"
fi
}

Expand Down
20 changes: 12 additions & 8 deletions linux-cachyos-rt-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; then
_pkgsuffix="cachyos-${_cpusched}"
pkgbase="linux-$_pkgsuffix"
fi
_major=6.10
_minor=10
_major=6.11
_minor=0
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
_stable=${_major}.${_minor}
#_stable=${_major}
#_stable=${_major}.${_minor}
_stable=${_major}
#_stablerc=${_major}-${_rcver}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
Expand Down Expand Up @@ -224,7 +224,8 @@ if [ -n "$_build_nvidia_open" ]; 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/make-modeset-fbdev-default.patch"
"${_patchsource}/misc/nvidia/nvidia-open-gcc-ibt-sls.patch"
"${_patchsource}/misc/nvidia/fix-zen5.patch")
"${_patchsource}/misc/nvidia/fix-zen5.patch"
"${_patchsource}/misc/nvidia/6.11-fbdev.patch")
fi

## List of CachyOS schedulers
Expand All @@ -233,7 +234,8 @@ case "$_cpusched" in
source+=("${_patchsource}/sched/0001-sched-ext.patch"
"${_patchsource}/sched/0001-bore-cachy-ext.patch");;
bore) ## BORE Scheduler
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
source+=("${_patchsource}/sched/0001-eevdf-next.patch"
"${_patchsource}/sched/0001-bore-cachy-next.patch");;
echo) ## ECHO Scheduler
source+=("${_patchsource}/sched/0001-echo-cachy.patch");;
rt) ## EEVDF with RT patches
Expand Down Expand Up @@ -271,6 +273,7 @@ prepare() {
[[ $src = make-modeset-fbdev-default.patch ]] && continue
[[ $src = nvidia-open-gcc-ibt-sls.patch ]] && continue
[[ $src = fix-zen5.patch ]] && continue
[[ $src = 6.11-fbdev.patch ]] && continue
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
Expand Down Expand Up @@ -324,8 +327,7 @@ prepare() {
### Enable KCFI
if [ -n "$_use_kcfi" ]; then
echo "Enabling kCFI"
scripts/config -e ARCH_SUPPORTS_CFI_CLANG \
-e CFI_CLANG
scripts/config -e ARCH_SUPPORTS_CFI_CLANG -e CFI_CLANG -e CFI_AUTO_DEFAULT
fi

### Select LLVM level
Expand Down Expand Up @@ -536,6 +538,8 @@ prepare() {
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/nvidia-open-gcc-ibt-sls.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix for Zen5 error print in dmesg
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/fix-zen5.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix broken fbdev on 6.11
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/6.11-fbdev.patch" -d "${srcdir}/${_nv_open_pkg}"
fi
}

Expand Down
19 changes: 11 additions & 8 deletions linux-cachyos-sched-ext/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; then
_pkgsuffix="cachyos-${_cpusched}"
pkgbase="linux-$_pkgsuffix"
fi
_major=6.10
_minor=10
_major=6.11
_minor=0
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
_stable=${_major}.${_minor}
#_stable=${_major}
#_stable=${_major}.${_minor}
_stable=${_major}
#_stablerc=${_major}-${_rcver}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
Expand Down Expand Up @@ -224,7 +224,8 @@ if [ -n "$_build_nvidia_open" ]; 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/make-modeset-fbdev-default.patch"
"${_patchsource}/misc/nvidia/nvidia-open-gcc-ibt-sls.patch"
"${_patchsource}/misc/nvidia/fix-zen5.patch")
"${_patchsource}/misc/nvidia/fix-zen5.patch"
"${_patchsource}/misc/nvidia/6.11-fbdev.patch")
fi

## List of CachyOS schedulers
Expand All @@ -233,7 +234,8 @@ case "$_cpusched" in
source+=("${_patchsource}/sched/0001-sched-ext.patch"
"${_patchsource}/sched/0001-bore-cachy-ext.patch");;
bore) ## BORE Scheduler
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
source+=("${_patchsource}/sched/0001-eevdf-next.patch"
"${_patchsource}/sched/0001-bore-cachy-next.patch");;
echo) ## ECHO Scheduler
source+=("${_patchsource}/sched/0001-echo-cachy.patch");;
rt) ## EEVDF with RT patches
Expand Down Expand Up @@ -324,8 +326,7 @@ prepare() {
### Enable KCFI
if [ -n "$_use_kcfi" ]; then
echo "Enabling kCFI"
scripts/config -e ARCH_SUPPORTS_CFI_CLANG \
-e CFI_CLANG
scripts/config -e ARCH_SUPPORTS_CFI_CLANG -e CFI_CLANG -e CFI_AUTO_DEFAULT
fi

### Select LLVM level
Expand Down Expand Up @@ -536,6 +537,8 @@ prepare() {
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/nvidia-open-gcc-ibt-sls.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix for Zen5 error print in dmesg
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/fix-zen5.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix broken fbdev on 6.11
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/6.11-fbdev.patch" -d "${srcdir}/${_nv_open_pkg}"
fi
}

Expand Down
20 changes: 12 additions & 8 deletions linux-cachyos-server/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; then
_pkgsuffix=cachyos-server
pkgbase="linux-$_pkgsuffix"
fi
_major=6.10
_minor=10
_major=6.11
_minor=0
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
_stable=${_major}.${_minor}
#_stable=${_major}
#_stable=${_major}.${_minor}
_stable=${_major}
#_stablerc=${_major}-${_rcver}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
Expand Down Expand Up @@ -224,7 +224,8 @@ if [ -n "$_build_nvidia_open" ]; 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/make-modeset-fbdev-default.patch"
"${_patchsource}/misc/nvidia/nvidia-open-gcc-ibt-sls.patch"
"${_patchsource}/misc/nvidia/fix-zen5.patch")
"${_patchsource}/misc/nvidia/fix-zen5.patch"
"${_patchsource}/misc/nvidia/6.11-fbdev.patch")
fi

## List of CachyOS schedulers
Expand All @@ -233,7 +234,8 @@ case "$_cpusched" in
source+=("${_patchsource}/sched/0001-sched-ext.patch"
"${_patchsource}/sched/0001-bore-cachy-ext.patch");;
bore) ## BORE Scheduler
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
source+=("${_patchsource}/sched/0001-eevdf-next.patch"
"${_patchsource}/sched/0001-bore-cachy-next.patch");;
echo) ## ECHO Scheduler
source+=("${_patchsource}/sched/0001-echo-cachy.patch");;
rt) ## EEVDF with RT patches
Expand Down Expand Up @@ -271,6 +273,7 @@ prepare() {
[[ $src = make-modeset-fbdev-default.patch ]] && continue
[[ $src = nvidia-open-gcc-ibt-sls.patch ]] && continue
[[ $src = fix-zen5.patch ]] && continue
[[ $src = 6.11-fbdev.patch ]] && continue
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
Expand Down Expand Up @@ -324,8 +327,7 @@ prepare() {
### Enable KCFI
if [ -n "$_use_kcfi" ]; then
echo "Enabling kCFI"
scripts/config -e ARCH_SUPPORTS_CFI_CLANG \
-e CFI_CLANG
scripts/config -e ARCH_SUPPORTS_CFI_CLANG -e CFI_CLANG -e CFI_AUTO_DEFAULT
fi

### Select LLVM level
Expand Down Expand Up @@ -536,6 +538,8 @@ prepare() {
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/nvidia-open-gcc-ibt-sls.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix for Zen5 error print in dmesg
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/fix-zen5.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix broken fbdev on 6.11
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/6.11-fbdev.patch" -d "${srcdir}/${_nv_open_pkg}"
fi
}

Expand Down
20 changes: 12 additions & 8 deletions linux-cachyos/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -152,13 +152,13 @@ elif [ -n "$_use_llvm_lto" ] || [[ "$_use_lto_suffix" = "n" ]]; then
_pkgsuffix=cachyos
pkgbase="linux-$_pkgsuffix"
fi
_major=6.10
_minor=10
_major=6.11
_minor=0
#_minorc=$((_minor+1))
#_rcver=rc8
pkgver=${_major}.${_minor}
_stable=${_major}.${_minor}
#_stable=${_major}
#_stable=${_major}.${_minor}
_stable=${_major}
#_stablerc=${_major}-${_rcver}
_srcname=linux-${_stable}
#_srcname=linux-${_major}
Expand Down Expand Up @@ -224,7 +224,8 @@ if [ -n "$_build_nvidia_open" ]; 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/make-modeset-fbdev-default.patch"
"${_patchsource}/misc/nvidia/nvidia-open-gcc-ibt-sls.patch"
"${_patchsource}/misc/nvidia/fix-zen5.patch")
"${_patchsource}/misc/nvidia/fix-zen5.patch"
"${_patchsource}/misc/nvidia/6.11-fbdev.patch")
fi

## List of CachyOS schedulers
Expand All @@ -233,7 +234,8 @@ case "$_cpusched" in
source+=("${_patchsource}/sched/0001-sched-ext.patch"
"${_patchsource}/sched/0001-bore-cachy-ext.patch");;
bore) ## BORE Scheduler
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;
source+=("${_patchsource}/sched/0001-eevdf-next.patch"
"${_patchsource}/sched/0001-bore-cachy-next.patch");;
echo) ## ECHO Scheduler
source+=("${_patchsource}/sched/0001-echo-cachy.patch");;
rt) ## EEVDF with RT patches
Expand Down Expand Up @@ -271,6 +273,7 @@ prepare() {
[[ $src = make-modeset-fbdev-default.patch ]] && continue
[[ $src = nvidia-open-gcc-ibt-sls.patch ]] && continue
[[ $src = fix-zen5.patch ]] && continue
[[ $src = 6.11-fbdev.patch ]] && continue
[[ $src = *.patch ]] || continue
echo "Applying patch $src..."
patch -Np1 < "../$src"
Expand Down Expand Up @@ -324,8 +327,7 @@ prepare() {
### Enable KCFI
if [ -n "$_use_kcfi" ]; then
echo "Enabling kCFI"
scripts/config -e ARCH_SUPPORTS_CFI_CLANG \
-e CFI_CLANG
scripts/config -e ARCH_SUPPORTS_CFI_CLANG -e CFI_CLANG -e CFI_AUTO_DEFAULT
fi

### Select LLVM level
Expand Down Expand Up @@ -536,6 +538,8 @@ prepare() {
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/nvidia-open-gcc-ibt-sls.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix for Zen5 error print in dmesg
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/fix-zen5.patch" -d "${srcdir}/${_nv_open_pkg}"
# Fix broken fbdev on 6.11
patch -Np1 --no-backup-if-mismatch -i "${srcdir}/6.11-fbdev.patch" -d "${srcdir}/${_nv_open_pkg}"
fi
}

Expand Down

0 comments on commit 169288e

Please sign in to comment.