Archlinux Kernel based on different schedulers and some other performance improvements.
Shell archlinuxbaby-schedcachycachy-schedulercachyoscacule-schedkernellinux-kernelperformanceperformance-tuning
linux-cachyos-rt: Add ZFS incompatibility warning
Vasiliy Stelmachenoka92e68f9f74b
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILDindex 0b8a6939..1aa1d16f 100644--- a/linux-bore/PKGBUILD+++ b/linux-bore/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-bore/linux-cachyos-rt.install b/linux-bore/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-bore/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILDindex d0055f65..7c6bf973 100644--- a/linux-cachyos-bmq/PKGBUILD+++ b/linux-cachyos-bmq/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-bmq/linux-cachyos-rt.install b/linux-cachyos-bmq/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos-bmq/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILDindex 47779e83..cd59718e 100644--- a/linux-cachyos-bore/PKGBUILD+++ b/linux-cachyos-bore/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-bore/linux-cachyos-rt.install b/linux-cachyos-bore/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos-bore/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILDindex a0d6f82a..a833e265 100644--- a/linux-cachyos-cfs/PKGBUILD+++ b/linux-cachyos-cfs/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-cfs/linux-cachyos-rt.install b/linux-cachyos-cfs/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos-cfs/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILDindex 856a19c4..51fac70b 100644--- a/linux-cachyos-eevdf/PKGBUILD+++ b/linux-cachyos-eevdf/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-eevdf/linux-cachyos-rt.install b/linux-cachyos-eevdf/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos-eevdf/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILDindex 5f83cc3a..c8fee0c5 100644--- a/linux-cachyos-hardened/PKGBUILD+++ b/linux-cachyos-hardened/PKGBUILD@@ -176,6 +176,8 @@ _use_gcc_lto=${_use_gcc_lto-}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -233,7 +235,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=e25f9131d679692704c11dc0c1df6d4585b70c35")fi@@ -255,7 +257,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -715,7 +718,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-hardened/linux-cachyos-rt.install b/linux-cachyos-hardened/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos-hardened/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILDindex 1ed7a8b3..85f5de4b 100644--- a/linux-cachyos-lts/PKGBUILD+++ b/linux-cachyos-lts/PKGBUILD@@ -177,6 +177,8 @@ _use_gcc_lto=${_use_gcc_lto-}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -237,7 +239,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=e25f9131d679692704c11dc0c1df6d4585b70c35")fi@@ -259,7 +261,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -719,7 +722,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-lts/linux-cachyos-rt.install b/linux-cachyos-lts/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos-lts/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILDindex e8e96eb8..3ef1717a 100644--- a/linux-cachyos-pds/PKGBUILD+++ b/linux-cachyos-pds/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-pds/linux-cachyos-rt.install b/linux-cachyos-pds/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos-pds/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILDindex 10bd4e58..657e6d26 100644--- a/linux-cachyos-rc/PKGBUILD+++ b/linux-cachyos-rc/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-rc/linux-cachyos-rt.install b/linux-cachyos-rc/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos-rc/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos-rt/PKGBUILD b/linux-cachyos-rt/PKGBUILDindex d68bf6d3..93dafa49 100644--- a/linux-cachyos-rt/PKGBUILD+++ b/linux-cachyos-rt/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()@@ -808,4 +811,5 @@ b2sums=('b59eb04a8715af9f686978812e6d4a466172bb859f80657076de14cd0828b4fac15b688'133085b75ef7a5234a6090a375134ba7d5970d8e136530d66085f013ea0f9e50c16c475cb74a18bbad9a82f1b43306b4db754ecdaa1c17e5c8acdbf981ccbfb6''11d2003b7d71258c4ca71d71c6b388f00fe9a2ddddc0270e304148396dadfd787a6cac1363934f37d0bfb098c7f5851a02ecb770e9663ffe57ff60746d532bd0''aec8d5a9716fb5139303d6deeae6fe0cc1fef731de9be7da3448859dea0c1fb71c8be74e43d9af48e517fb8bac89209d5ea2fcfc9338196c72524509b0cbb8c0'- '8c6a7005248a06c80ac2adb4818cc3fabfa20973c8f56e1793263b45ad745d48c7e1eaf78862852ed11181c5d93c1b63b65c73bddae0bcfcbcc6dbb9acd5608e')+ '8c6a7005248a06c80ac2adb4818cc3fabfa20973c8f56e1793263b45ad745d48c7e1eaf78862852ed11181c5d93c1b63b65c73bddae0bcfcbcc6dbb9acd5608e'+ 'e395035f1b0b944beca434c1e24264342088365de267cbb83b111f02a029fc78145aec73c14e458bd3ad648c8bb2c2ef30c2ff091b1dad2f9b754ecbeb45e41b')diff --git a/linux-cachyos-rt/linux-cachyos-rt.install b/linux-cachyos-rt/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos-rt/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILDindex f5f2c355..fdc962ab 100644--- a/linux-cachyos-server/PKGBUILD+++ b/linux-cachyos-server/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-server/linux-cachyos-rt.install b/linux-cachyos-server/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos-server/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILDindex 05d10453..d281de71 100644--- a/linux-cachyos-tt/PKGBUILD+++ b/linux-cachyos-tt/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos-tt/linux-cachyos-rt.install b/linux-cachyos-tt/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos-tt/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILDindex 0cca07f6..bbc0fefb 100644--- a/linux-cachyos/PKGBUILD+++ b/linux-cachyos/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-cachyos/linux-cachyos-rt.install b/linux-cachyos/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-cachyos/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILDindex 3ef6430f..0bd74aa1 100644--- a/linux-tt/PKGBUILD+++ b/linux-tt/PKGBUILD@@ -158,6 +158,8 @@ _use_lto_suffix=${_use_lto_suffix-y}_use_kcfi=${_use_kcfi-}# Build the zfs module in to the kernel+# WARNING: The ZFS module doesn't build with selected RT sched due to licensing issues.+# If you use ZFS, refrain from building the RT kernel_build_zfs=${_build_zfs-}# Enable bcachefs@@ -207,7 +209,7 @@ source=("${_patchsource}/all/0001-cachyos-base-all.patch")# ZFS support-if [ -n "$_build_zfs" ]; then+if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; thenmakedepends+=(git)source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")fi@@ -227,7 +229,8 @@ case "$_cpusched" in[ -n "$_tune_bore" ] && source+=("${_patchsource}/misc/0001-bore-tuning-sysctl.patch")source+=("${_patchsource}/sched/0001-bore-cachy.patch");;rt) ## CFS with RT patches- source+=("${_patchsource}/misc/0001-rt.patch");;+ source+=("${_patchsource}/misc/0001-rt.patch"+ linux-cachyos-rt.install);;hardened) ## Hardened Patches with BORE Schedulersource+=("${_patchsource}/sched/0001-bore-cachy.patch""${_patchsource}/misc/0001-hardened.patch");;@@ -652,7 +655,7 @@ build() {cd ${srcdir}/${_srcname}make ${BUILD_FLAGS[*]} -j$(nproc) all- if [ -n "$_build_zfs" ]; then+ if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; thencd ${srcdir}/"zfs"local CONFIGURE_FLAGS=()diff --git a/linux-tt/linux-cachyos-rt.install b/linux-tt/linux-cachyos-rt.installnew file mode 100644index 00000000..5bf59d9c--- /dev/null+++ b/linux-tt/linux-cachyos-rt.install@@ -0,0 +1,12 @@+post_install() {+ cat << EOF+You install the linux-cachyos kernel variant with RT patches.++Please make sure that you don't use the ZFS filesystem, as this kernel is not+compatible with it due to licensing issues.+EOF+}++post_upgrade() {+ post_install+}