Skip to content

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

Simplifying _cachy_config

Piotr Gorski3d6d5ff5367b
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFO
index 76081d18..7dfb5d17 100644
--- a/linux-bore/.SRCINFO
+++ b/linux-bore/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by makepkg 6.0.2
+# Wed Feb 1 15:18:41 UTC 2023
pkgbase = linux-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.1.9
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILD
index f7b864e8..eeba0621 100644
--- a/linux-bore/PKGBUILD
+++ b/linux-bore/PKGBUILD
@@ -4,10 +4,7 @@
# Contributor: Thomas Baechler <[email protected]>
### Selecting CachyOS config
-# ATTENTION - one of two predefined values should be selected!
-# 'yes' - enable CachyOS config
-# 'no' - disable CachyOS config
-_cachy_config=${_cachy_config-'yes'}
+_cachy_config=${_cachy_config-y}
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
@@ -328,19 +325,9 @@ prepare() {
fi
### Selecting CachyOS config
- if [ "$_cachy_config" = "yes" ]; then
+ if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
scripts/config -e CACHY
- elif [ "$_cachy_config" = "no" ]; then
- echo "Disabling CachyOS config..."
- scripts/config -d CACHY
- else
- if [ -n "$_cachy_config" ]; then
- error "The value $_cachy_config is invalid. Choose the correct one again."
- else
- error "The value is empty. Choose the correct one again."
- fi
- _die "Selecting CachyOS config failed!"
fi
### Selecting the CPU scheduler
diff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFO
index 077b7a13..dea5b8b3 100644
--- a/linux-cachyos-bmq/.SRCINFO
+++ b/linux-cachyos-bmq/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by makepkg 6.0.2
+# Wed Feb 1 15:17:39 UTC 2023
pkgbase = linux-cachyos-bmq
pkgdesc = Linux BMQ scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.1.9
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD
index f0a81830..8b16161b 100644
--- a/linux-cachyos-bmq/PKGBUILD
+++ b/linux-cachyos-bmq/PKGBUILD
@@ -4,10 +4,7 @@
# Contributor: Thomas Baechler <[email protected]>
### Selecting CachyOS config
-# ATTENTION - one of two predefined values should be selected!
-# 'yes' - enable CachyOS config
-# 'no' - disable CachyOS config
-_cachy_config=${_cachy_config-'yes'}
+_cachy_config=${_cachy_config-y}
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
@@ -328,19 +325,9 @@ prepare() {
fi
### Selecting CachyOS config
- if [ "$_cachy_config" = "yes" ]; then
+ if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
scripts/config -e CACHY
- elif [ "$_cachy_config" = "no" ]; then
- echo "Disabling CachyOS config..."
- scripts/config -d CACHY
- else
- if [ -n "$_cachy_config" ]; then
- error "The value $_cachy_config is invalid. Choose the correct one again."
- else
- error "The value is empty. Choose the correct one again."
- fi
- _die "Selecting CachyOS config failed!"
fi
### Selecting the CPU scheduler
diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFO
index 3c0b1fe3..66622480 100644
--- a/linux-cachyos-bore/.SRCINFO
+++ b/linux-cachyos-bore/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by makepkg 6.0.2
+# Wed Feb 1 15:19:37 UTC 2023
pkgbase = linux-cachyos-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.1.9
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index 75a0e051..32a7c0ba 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -4,10 +4,7 @@
# Contributor: Thomas Baechler <[email protected]>
### Selecting CachyOS config
-# ATTENTION - one of two predefined values should be selected!
-# 'yes' - enable CachyOS config
-# 'no' - disable CachyOS config
-_cachy_config=${_cachy_config-'yes'}
+_cachy_config=${_cachy_config-y}
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
@@ -328,19 +325,9 @@ prepare() {
fi
### Selecting CachyOS config
- if [ "$_cachy_config" = "yes" ]; then
+ if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
scripts/config -e CACHY
- elif [ "$_cachy_config" = "no" ]; then
- echo "Disabling CachyOS config..."
- scripts/config -d CACHY
- else
- if [ -n "$_cachy_config" ]; then
- error "The value $_cachy_config is invalid. Choose the correct one again."
- else
- error "The value is empty. Choose the correct one again."
- fi
- _die "Selecting CachyOS config failed!"
fi
### Selecting the CPU scheduler
diff --git a/linux-cachyos-cfs/.SRCINFO b/linux-cachyos-cfs/.SRCINFO
index e47818b7..11309ff8 100644
--- a/linux-cachyos-cfs/.SRCINFO
+++ b/linux-cachyos-cfs/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by makepkg 6.0.2
+# Wed Feb 1 15:20:27 UTC 2023
pkgbase = linux-cachyos-cfs
pkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.1.9
diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILD
index e0f31ee1..bf99b20f 100644
--- a/linux-cachyos-cfs/PKGBUILD
+++ b/linux-cachyos-cfs/PKGBUILD
@@ -4,10 +4,7 @@
# Contributor: Thomas Baechler <[email protected]>
### Selecting CachyOS config
-# ATTENTION - one of two predefined values should be selected!
-# 'yes' - enable CachyOS config
-# 'no' - disable CachyOS config
-_cachy_config=${_cachy_config-'yes'}
+_cachy_config=${_cachy_config-y}
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
@@ -328,19 +325,9 @@ prepare() {
fi
### Selecting CachyOS config
- if [ "$_cachy_config" = "yes" ]; then
+ if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
scripts/config -e CACHY
- elif [ "$_cachy_config" = "no" ]; then
- echo "Disabling CachyOS config..."
- scripts/config -d CACHY
- else
- if [ -n "$_cachy_config" ]; then
- error "The value $_cachy_config is invalid. Choose the correct one again."
- else
- error "The value is empty. Choose the correct one again."
- fi
- _die "Selecting CachyOS config failed!"
fi
### Selecting the CPU scheduler
diff --git a/linux-cachyos-hardened/.SRCINFO b/linux-cachyos-hardened/.SRCINFO
index 19caaad8..a09179bd 100644
--- a/linux-cachyos-hardened/.SRCINFO
+++ b/linux-cachyos-hardened/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.2
-# Wed Feb 1 14:17:32 UTC 2023
+# Wed Feb 1 15:21:20 UTC 2023
pkgbase = linux-cachyos-hardened
pkgdesc = Linux hardenened BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.1.9
diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD
index d4df027b..ee8f8e01 100644
--- a/linux-cachyos-hardened/PKGBUILD
+++ b/linux-cachyos-hardened/PKGBUILD
@@ -4,10 +4,7 @@
# Contributor: Thomas Baechler <[email protected]>
### Selecting CachyOS config
-# ATTENTION - one of two predefined values should be selected!
-# 'yes' - enable CachyOS config
-# 'no' - disable CachyOS config
-_cachy_config=${_cachy_config-'yes'}
+_cachy_config=${_cachy_config-y}
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
@@ -332,19 +329,9 @@ prepare() {
fi
### Selecting CachyOS config
- if [ "$_cachy_config" = "yes" ]; then
+ if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
scripts/config -e CACHY
- elif [ "$_cachy_config" = "no" ]; then
- echo "Disabling CachyOS config..."
- scripts/config -d CACHY
- else
- if [ -n "$_cachy_config" ]; then
- error "The value $_cachy_config is invalid. Choose the correct one again."
- else
- error "The value is empty. Choose the correct one again."
- fi
- _die "Selecting CachyOS config failed!"
fi
### Selecting the CPU scheduler
diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFO
index b1e2d124..bf778261 100644
--- a/linux-cachyos-pds/.SRCINFO
+++ b/linux-cachyos-pds/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by makepkg 6.0.2
+# Wed Feb 1 15:22:10 UTC 2023
pkgbase = linux-cachyos-pds
pkgdesc = Linux PDS scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.1.9
diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILD
index 82363726..489a50ea 100644
--- a/linux-cachyos-pds/PKGBUILD
+++ b/linux-cachyos-pds/PKGBUILD
@@ -4,10 +4,7 @@
# Contributor: Thomas Baechler <[email protected]>
### Selecting CachyOS config
-# ATTENTION - one of two predefined values should be selected!
-# 'yes' - enable CachyOS config
-# 'no' - disable CachyOS config
-_cachy_config=${_cachy_config-'yes'}
+_cachy_config=${_cachy_config-y}
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
@@ -328,19 +325,9 @@ prepare() {
fi
### Selecting CachyOS config
- if [ "$_cachy_config" = "yes" ]; then
+ if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
scripts/config -e CACHY
- elif [ "$_cachy_config" = "no" ]; then
- echo "Disabling CachyOS config..."
- scripts/config -d CACHY
- else
- if [ -n "$_cachy_config" ]; then
- error "The value $_cachy_config is invalid. Choose the correct one again."
- else
- error "The value is empty. Choose the correct one again."
- fi
- _die "Selecting CachyOS config failed!"
fi
### Selecting the CPU scheduler
diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFO
index e0575108..ef6ea61f 100644
--- a/linux-cachyos-rc/.SRCINFO
+++ b/linux-cachyos-rc/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by makepkg 6.0.2
+# Wed Feb 1 15:23:57 UTC 2023
pkgbase = linux-cachyos-rc
pkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 6.2.rc6
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 7cf63181..37ea3d19 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -4,10 +4,7 @@
# Contributor: Thomas Baechler <[email protected]>
### Selecting CachyOS config
-# ATTENTION - one of two predefined values should be selected!
-# 'yes' - enable CachyOS config
-# 'no' - disable CachyOS config
-_cachy_config=${_cachy_config-'yes'}
+_cachy_config=${_cachy_config-y}
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
@@ -328,19 +325,9 @@ prepare() {
fi
### Selecting CachyOS config
- if [ "$_cachy_config" = "yes" ]; then
+ if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
scripts/config -e CACHY
- elif [ "$_cachy_config" = "no" ]; then
- echo "Disabling CachyOS config..."
- scripts/config -d CACHY
- else
- if [ -n "$_cachy_config" ]; then
- error "The value $_cachy_config is invalid. Choose the correct one again."
- else
- error "The value is empty. Choose the correct one again."
- fi
- _die "Selecting CachyOS config failed!"
fi
### Selecting the CPU scheduler
diff --git a/linux-cachyos-server/.SRCINFO b/linux-cachyos-server/.SRCINFO
index 23187223..cabad7ca 100644
--- a/linux-cachyos-server/.SRCINFO
+++ b/linux-cachyos-server/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by makepkg 6.0.2
+# Wed Feb 1 15:26:38 UTC 2023
pkgbase = linux-cachyos-server
pkgdesc = Linux CFS scheduler Kernel by CachyOS targeted for Servers
pkgver = 6.1.9
diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILD
index 1d0d7d77..a95bd3f7 100644
--- a/linux-cachyos-server/PKGBUILD
+++ b/linux-cachyos-server/PKGBUILD
@@ -4,10 +4,7 @@
# Contributor: Thomas Baechler <[email protected]>
### Selecting CachyOS config
-# ATTENTION - one of two predefined values should be selected!
-# 'yes' - enable CachyOS config
-# 'no' - disable CachyOS config
-_cachy_config=${_cachy_config-'no'}
+_cachy_config=${_cachy_config-}
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
@@ -328,19 +325,9 @@ prepare() {
fi
### Selecting CachyOS config
- if [ "$_cachy_config" = "yes" ]; then
+ if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
scripts/config -e CACHY
- elif [ "$_cachy_config" = "no" ]; then
- echo "Disabling CachyOS config..."
- scripts/config -d CACHY
- else
- if [ -n "$_cachy_config" ]; then
- error "The value $_cachy_config is invalid. Choose the correct one again."
- else
- error "The value is empty. Choose the correct one again."
- fi
- _die "Selecting CachyOS config failed!"
fi
### Selecting the CPU scheduler
diff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFO
index c43bf067..f2c6d87b 100644
--- a/linux-cachyos-tt/.SRCINFO
+++ b/linux-cachyos-tt/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by makepkg 6.0.2
+# Wed Feb 1 15:27:50 UTC 2023
pkgbase = linux-cachyos-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.1.9
diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILD
index 43f5d901..52a797ae 100644
--- a/linux-cachyos-tt/PKGBUILD
+++ b/linux-cachyos-tt/PKGBUILD
@@ -4,10 +4,7 @@
# Contributor: Thomas Baechler <[email protected]>
### Selecting CachyOS config
-# ATTENTION - one of two predefined values should be selected!
-# 'yes' - enable CachyOS config
-# 'no' - disable CachyOS config
-_cachy_config=${_cachy_config-'yes'}
+_cachy_config=${_cachy_config-y}
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
@@ -328,19 +325,9 @@ prepare() {
fi
### Selecting CachyOS config
- if [ "$_cachy_config" = "yes" ]; then
+ if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
scripts/config -e CACHY
- elif [ "$_cachy_config" = "no" ]; then
- echo "Disabling CachyOS config..."
- scripts/config -d CACHY
- else
- if [ -n "$_cachy_config" ]; then
- error "The value $_cachy_config is invalid. Choose the correct one again."
- else
- error "The value is empty. Choose the correct one again."
- fi
- _die "Selecting CachyOS config failed!"
fi
### Selecting the CPU scheduler
diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFO
index 45e7c7f1..b399cffe 100644
--- a/linux-cachyos/.SRCINFO
+++ b/linux-cachyos/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by makepkg 6.0.2
+# Wed Feb 1 15:18:09 UTC 2023
pkgbase = linux-cachyos
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.1.9
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index 9c2ed132..ae2c1cef 100644
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -4,10 +4,7 @@
# Contributor: Thomas Baechler <[email protected]>
### Selecting CachyOS config
-# ATTENTION - one of two predefined values should be selected!
-# 'yes' - enable CachyOS config
-# 'no' - disable CachyOS config
-_cachy_config=${_cachy_config-'yes'}
+_cachy_config=${_cachy_config-y}
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
@@ -328,19 +325,9 @@ prepare() {
fi
### Selecting CachyOS config
- if [ "$_cachy_config" = "yes" ]; then
+ if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
scripts/config -e CACHY
- elif [ "$_cachy_config" = "no" ]; then
- echo "Disabling CachyOS config..."
- scripts/config -d CACHY
- else
- if [ -n "$_cachy_config" ]; then
- error "The value $_cachy_config is invalid. Choose the correct one again."
- else
- error "The value is empty. Choose the correct one again."
- fi
- _die "Selecting CachyOS config failed!"
fi
### Selecting the CPU scheduler
diff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFO
index 9da1a2c7..45852766 100644
--- a/linux-tt/.SRCINFO
+++ b/linux-tt/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by makepkg 6.0.2
+# Wed Feb 1 15:28:44 UTC 2023
pkgbase = linux-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvements
pkgver = 6.1.9
diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILD
index c2a6bb05..86fcb144 100644
--- a/linux-tt/PKGBUILD
+++ b/linux-tt/PKGBUILD
@@ -4,10 +4,7 @@
# Contributor: Thomas Baechler <[email protected]>
### Selecting CachyOS config
-# ATTENTION - one of two predefined values should be selected!
-# 'yes' - enable CachyOS config
-# 'no' - disable CachyOS config
-_cachy_config=${_cachy_config-'yes'}
+_cachy_config=${_cachy_config-y}
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
@@ -328,19 +325,9 @@ prepare() {
fi
### Selecting CachyOS config
- if [ "$_cachy_config" = "yes" ]; then
+ if [ -n "$_cachy_config" ]; then
echo "Enabling CachyOS config..."
scripts/config -e CACHY
- elif [ "$_cachy_config" = "no" ]; then
- echo "Disabling CachyOS config..."
- scripts/config -d CACHY
- else
- if [ -n "$_cachy_config" ]; then
- error "The value $_cachy_config is invalid. Choose the correct one again."
- else
- error "The value is empty. Choose the correct one again."
- fi
- _die "Selecting CachyOS config failed!"
fi
### Selecting the CPU scheduler