Skip to content

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

Prevent to disabling debug with sched-ext - fix flag

Piotr Gorski216ab14e7747
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILD
index 11410c63..43746e9c 100644
--- a/linux-bore/PKGBUILD
+++ b/linux-bore/PKGBUILD
@@ -582,6 +582,8 @@ prepare() {
fi
### Disable DEBUG
+ # Doesn't work with sched-ext
+ # More infos here: https://github.com/CachyOS/linux-cachyos/issues/187
if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
diff --git a/linux-cachyos-bore-rt/PKGBUILD b/linux-cachyos-bore-rt/PKGBUILD
index ecede773..577f945f 100644
--- a/linux-cachyos-bore-rt/PKGBUILD
+++ b/linux-cachyos-bore-rt/PKGBUILD
@@ -582,6 +582,8 @@ prepare() {
fi
### Disable DEBUG
+ # Doesn't work with sched-ext
+ # More infos here: https://github.com/CachyOS/linux-cachyos/issues/187
if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index a2a6c697..5a83593d 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -582,6 +582,8 @@ prepare() {
fi
### Disable DEBUG
+ # Doesn't work with sched-ext
+ # More infos here: https://github.com/CachyOS/linux-cachyos/issues/187
if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILD
index 99cd5240..d8423985 100644
--- a/linux-cachyos-eevdf/PKGBUILD
+++ b/linux-cachyos-eevdf/PKGBUILD
@@ -582,6 +582,8 @@ prepare() {
fi
### Disable DEBUG
+ # Doesn't work with sched-ext
+ # More infos here: https://github.com/CachyOS/linux-cachyos/issues/187
if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index d4e3f08f..e6df9b25 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -581,6 +581,8 @@ prepare() {
fi
### Disable DEBUG
+ # Doesn't work with sched-ext
+ # More infos here: https://github.com/CachyOS/linux-cachyos/issues/187
if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
diff --git a/linux-cachyos-rt/PKGBUILD b/linux-cachyos-rt/PKGBUILD
index 69527f6c..db2b005c 100644
--- a/linux-cachyos-rt/PKGBUILD
+++ b/linux-cachyos-rt/PKGBUILD
@@ -582,6 +582,8 @@ prepare() {
fi
### Disable DEBUG
+ # Doesn't work with sched-ext
+ # More infos here: https://github.com/CachyOS/linux-cachyos/issues/187
if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILD
index b48afd14..05673e0a 100644
--- a/linux-cachyos-server/PKGBUILD
+++ b/linux-cachyos-server/PKGBUILD
@@ -582,6 +582,8 @@ prepare() {
fi
### Disable DEBUG
+ # Doesn't work with sched-ext
+ # More infos here: https://github.com/CachyOS/linux-cachyos/issues/187
if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index b19e1033..e461f0c2 100644
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -582,6 +582,8 @@ prepare() {
fi
### Disable DEBUG
+ # Doesn't work with sched-ext
+ # More infos here: https://github.com/CachyOS/linux-cachyos/issues/187
if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \