Skip to content

Archlinux Kernel based on different schedulers and some other performance improvements.

linux-cachyos-rt: Remove unnecessary checks

Vasiliy Stelmachenokd3788abbffc6
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILD
index 1aa1d16f..e41f8e2f 100644
--- a/linux-bore/PKGBUILD
+++ b/linux-bore/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD
index 7c6bf973..707f96d4 100644
--- a/linux-cachyos-bmq/PKGBUILD
+++ b/linux-cachyos-bmq/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index cd59718e..403a1019 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILD
index a833e265..9f899acb 100644
--- a/linux-cachyos-cfs/PKGBUILD
+++ b/linux-cachyos-cfs/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILD
index 51fac70b..db4f3499 100644
--- a/linux-cachyos-eevdf/PKGBUILD
+++ b/linux-cachyos-eevdf/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD
index c8fee0c5..09a47088 100644
--- a/linux-cachyos-hardened/PKGBUILD
+++ b/linux-cachyos-hardened/PKGBUILD
@@ -235,7 +235,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=e25f9131d679692704c11dc0c1df6d4585b70c35")
fi
@@ -718,7 +718,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos-lts/PKGBUILD b/linux-cachyos-lts/PKGBUILD
index 85f5de4b..c6ab9ddb 100644
--- a/linux-cachyos-lts/PKGBUILD
+++ b/linux-cachyos-lts/PKGBUILD
@@ -239,7 +239,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=e25f9131d679692704c11dc0c1df6d4585b70c35")
fi
@@ -722,7 +722,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILD
index 3ef1717a..ab2c7541 100644
--- a/linux-cachyos-pds/PKGBUILD
+++ b/linux-cachyos-pds/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 657e6d26..8c579c2b 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos-rt/PKGBUILD b/linux-cachyos-rt/PKGBUILD
index e8de3548..458e5f6b 100644
--- a/linux-cachyos-rt/PKGBUILD
+++ b/linux-cachyos-rt/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILD
index fdc962ab..c8e1db7c 100644
--- a/linux-cachyos-server/PKGBUILD
+++ b/linux-cachyos-server/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILD
index d281de71..b83b41b2 100644
--- a/linux-cachyos-tt/PKGBUILD
+++ b/linux-cachyos-tt/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index bbc0fefb..2bf05f4f 100644
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()
diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILD
index 0bd74aa1..75757632 100644
--- a/linux-tt/PKGBUILD
+++ b/linux-tt/PKGBUILD
@@ -209,7 +209,7 @@ source=(
"${_patchsource}/all/0001-cachyos-base-all.patch")
# ZFS support
-if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt" ]; then
+if [ -n "$_build_zfs" ]; then
makedepends+=(git)
source+=("git+https://github.com/cachyos/zfs.git#commit=f9a2d94c957d0660ad1f4cfbb0a909eb8e6086df")
fi
@@ -655,7 +655,7 @@ build() {
cd ${srcdir}/${_srcname}
make ${BUILD_FLAGS[*]} -j$(nproc) all
- if [ -n "$_build_zfs" ] && [ "$_cpusched" != "rt"]; then
+ if [ -n "$_build_zfs" ]; then
cd ${srcdir}/"zfs"
local CONFIGURE_FLAGS=()