Skip to content

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

Add cachyos config flag

Piotr Gorskia2378ab7f469
diff --git a/linux-bore/.SRCINFO b/linux-bore/.SRCINFO
index 10ccdfd4..71109488 100644
--- a/linux-bore/.SRCINFO
+++ b/linux-bore/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:29:15 UTC 2022
+# Thu Sep 15 18:25:17 UTC 2022
pkgbase = linux-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILD
index 0776e6b4..95f111cf 100644
--- a/linux-bore/PKGBUILD
+++ b/linux-bore/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -279,6 +285,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."
diff --git a/linux-cachyos-bmq/.SRCINFO b/linux-cachyos-bmq/.SRCINFO
index 354296ff..4a799d55 100644
--- a/linux-cachyos-bmq/.SRCINFO
+++ b/linux-cachyos-bmq/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:33:07 UTC 2022
+# Thu Sep 15 18:29:08 UTC 2022
pkgbase = linux-cachyos-bmq
pkgdesc = Linux BMQ scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-cachyos-bmq/PKGBUILD b/linux-cachyos-bmq/PKGBUILD
index 7fb8a256..78ecd5a3 100644
--- a/linux-cachyos-bmq/PKGBUILD
+++ b/linux-cachyos-bmq/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -279,6 +285,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."
diff --git a/linux-cachyos-bore/.SRCINFO b/linux-cachyos-bore/.SRCINFO
index ec504b2f..79e89ff9 100644
--- a/linux-cachyos-bore/.SRCINFO
+++ b/linux-cachyos-bore/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:34:02 UTC 2022
+# Thu Sep 15 18:30:15 UTC 2022
pkgbase = linux-cachyos-bore
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index 76669640..74f30678 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -279,6 +285,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."
diff --git a/linux-cachyos-cacule/.SRCINFO b/linux-cachyos-cacule/.SRCINFO
index a79a8aab..351bb90d 100644
--- a/linux-cachyos-cacule/.SRCINFO
+++ b/linux-cachyos-cacule/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:35:00 UTC 2022
+# Thu Sep 15 18:31:37 UTC 2022
pkgbase = linux-cachyos-cacule
pkgdesc = Linux cacULE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-cachyos-cacule/PKGBUILD b/linux-cachyos-cacule/PKGBUILD
index f3ff5cb3..97851b20 100644
--- a/linux-cachyos-cacule/PKGBUILD
+++ b/linux-cachyos-cacule/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -279,6 +285,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."
diff --git a/linux-cachyos-cfs/.SRCINFO b/linux-cachyos-cfs/.SRCINFO
index 5f50fc2c..f69b0a78 100644
--- a/linux-cachyos-cfs/.SRCINFO
+++ b/linux-cachyos-cfs/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:35:52 UTC 2022
+# Thu Sep 15 18:32:31 UTC 2022
pkgbase = linux-cachyos-cfs
pkgdesc = Linux CFS scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-cachyos-cfs/PKGBUILD b/linux-cachyos-cfs/PKGBUILD
index cd110a3d..6d73fa78 100644
--- a/linux-cachyos-cfs/PKGBUILD
+++ b/linux-cachyos-cfs/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -279,6 +285,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."
diff --git a/linux-cachyos-hardened/.SRCINFO b/linux-cachyos-hardened/.SRCINFO
index 93525459..9eb5de6e 100644
--- a/linux-cachyos-hardened/.SRCINFO
+++ b/linux-cachyos-hardened/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:37:41 UTC 2022
+# Thu Sep 15 18:33:26 UTC 2022
pkgbase = linux-cachyos-hardened
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-cachyos-hardened/PKGBUILD b/linux-cachyos-hardened/PKGBUILD
index 11ed5e63..79302dad 100644
--- a/linux-cachyos-hardened/PKGBUILD
+++ b/linux-cachyos-hardened/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -283,6 +289,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."
diff --git a/linux-cachyos-pds/.SRCINFO b/linux-cachyos-pds/.SRCINFO
index 83c28695..b19be662 100644
--- a/linux-cachyos-pds/.SRCINFO
+++ b/linux-cachyos-pds/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:38:33 UTC 2022
+# Thu Sep 15 18:34:18 UTC 2022
pkgbase = linux-cachyos-pds
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-cachyos-pds/PKGBUILD b/linux-cachyos-pds/PKGBUILD
index 52a82185..fedf9cec 100644
--- a/linux-cachyos-pds/PKGBUILD
+++ b/linux-cachyos-pds/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -279,6 +285,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."
diff --git a/linux-cachyos-rc/.SRCINFO b/linux-cachyos-rc/.SRCINFO
index 1c52c594..cf68d411 100644
--- a/linux-cachyos-rc/.SRCINFO
+++ b/linux-cachyos-rc/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:40:30 UTC 2022
+# Thu Sep 15 18:36:07 UTC 2022
pkgbase = linux-cachyos-rc
pkgdesc = Linux BORE scheduler Kernel by CachyOS and with some other patches and other improvements
pkgver = 6.0.rc5
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index 7e2712eb..2ba0d4ba 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -288,6 +294,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting proper RT config
if [ -n "$_rtkernel" ]; then
echo "Setting proper RT config"
diff --git a/linux-cachyos-tt/.SRCINFO b/linux-cachyos-tt/.SRCINFO
index 5beafede..aff7bc19 100644
--- a/linux-cachyos-tt/.SRCINFO
+++ b/linux-cachyos-tt/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:41:33 UTC 2022
+# Thu Sep 15 18:37:15 UTC 2022
pkgbase = linux-cachyos-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-cachyos-tt/PKGBUILD b/linux-cachyos-tt/PKGBUILD
index f75dd7e6..0ab2ced1 100644
--- a/linux-cachyos-tt/PKGBUILD
+++ b/linux-cachyos-tt/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -279,6 +285,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."
diff --git a/linux-cachyos/.SRCINFO b/linux-cachyos/.SRCINFO
index 5d96bb90..13924604 100644
--- a/linux-cachyos/.SRCINFO
+++ b/linux-cachyos/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:31:38 UTC 2022
+# Thu Sep 15 18:28:00 UTC 2022
pkgbase = linux-cachyos
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index d72d2dff..f3fc6b6e 100644
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -279,6 +285,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."
diff --git a/linux-cacule-rdb/.SRCINFO b/linux-cacule-rdb/.SRCINFO
index 59fea55f..06eda0aa 100644
--- a/linux-cacule-rdb/.SRCINFO
+++ b/linux-cacule-rdb/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:44:08 UTC 2022
+# Thu Sep 15 18:38:49 UTC 2022
pkgbase = linux-cacule-rdb
pkgdesc = Linux cacULE-RDB scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-cacule-rdb/PKGBUILD b/linux-cacule-rdb/PKGBUILD
index 67014cfa..f4c74858 100644
--- a/linux-cacule-rdb/PKGBUILD
+++ b/linux-cacule-rdb/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -279,6 +285,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."
diff --git a/linux-cacule/.SRCINFO b/linux-cacule/.SRCINFO
index 51008008..1e263e19 100644
--- a/linux-cacule/.SRCINFO
+++ b/linux-cacule/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:42:34 UTC 2022
+# Thu Sep 15 18:37:58 UTC 2022
pkgbase = linux-cacule
pkgdesc = Linux BORE scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-cacule/PKGBUILD b/linux-cacule/PKGBUILD
index 740e9642..52fab85f 100644
--- a/linux-cacule/PKGBUILD
+++ b/linux-cacule/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -279,6 +285,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."
diff --git a/linux-tt/.SRCINFO b/linux-tt/.SRCINFO
index 95ad1d90..c5612940 100644
--- a/linux-tt/.SRCINFO
+++ b/linux-tt/.SRCINFO
@@ -1,5 +1,5 @@
# Generated by makepkg 6.0.1
-# Thu Sep 15 14:45:14 UTC 2022
+# Thu Sep 15 18:39:31 UTC 2022
pkgbase = linux-tt
pkgdesc = Linux TT scheduler Kernel by CachyOS with other patches and improvements
pkgver = 5.19.9
diff --git a/linux-tt/PKGBUILD b/linux-tt/PKGBUILD
index 6ecd9176..65d8cf7d 100644
--- a/linux-tt/PKGBUILD
+++ b/linux-tt/PKGBUILD
@@ -3,6 +3,12 @@
# Contributor: Tobias Powalowski <[email protected]>
# 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='yes'
+
### Selecting the CPU scheduler
# ATTENTION - one of seven predefined values should be selected!
# 'bmq' - select 'BitMap Queue CPU scheduler'
@@ -279,6 +285,23 @@ prepare() {
"${srcdir}"/auto-cpu-optimization.sh
fi
+ ### Selecting CachyOS config
+ if [ "$_cachy_config" = "yes" ]; then
+ echo "Enabling CachyOS config..."
+ scripts/config --enable CACHY_CONFIG
+ elif [ "$_cachy_config" = "no" ]; then
+ echo "Disabling CachyOS config..."
+ scripts/config --disable CACHY_CONFIG
+ 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
+ error "Selecting CachyOS config failed!"
+ exit
+ fi
+
### Selecting the CPU scheduler
if [ "$_cpusched" = "bmq" ]; then
echo "Selecting BMQ CPU scheduler..."