Skip to content

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

Prevent to disabling debug with sched-ext - fix #187

Piotr Gorski6a14d4665923
diff --git a/linux-bore/PKGBUILD b/linux-bore/PKGBUILD
index b8c4cb04..11410c63 100644
--- a/linux-bore/PKGBUILD
+++ b/linux-bore/PKGBUILD
@@ -582,7 +582,7 @@ prepare() {
fi
### Disable DEBUG
- if [ -n "$_disable_debug" ]; then
+ if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
-d DEBUG_INFO_DWARF4 \
diff --git a/linux-cachyos-bore-rt/PKGBUILD b/linux-cachyos-bore-rt/PKGBUILD
index 94799d0c..ecede773 100644
--- a/linux-cachyos-bore-rt/PKGBUILD
+++ b/linux-cachyos-bore-rt/PKGBUILD
@@ -582,7 +582,7 @@ prepare() {
fi
### Disable DEBUG
- if [ -n "$_disable_debug" ]; then
+ if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
-d DEBUG_INFO_DWARF4 \
diff --git a/linux-cachyos-bore/PKGBUILD b/linux-cachyos-bore/PKGBUILD
index 8b3d7320..a2a6c697 100644
--- a/linux-cachyos-bore/PKGBUILD
+++ b/linux-cachyos-bore/PKGBUILD
@@ -582,7 +582,7 @@ prepare() {
fi
### Disable DEBUG
- if [ -n "$_disable_debug" ]; then
+ if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
-d DEBUG_INFO_DWARF4 \
diff --git a/linux-cachyos-eevdf/PKGBUILD b/linux-cachyos-eevdf/PKGBUILD
index 23d8dd06..99cd5240 100644
--- a/linux-cachyos-eevdf/PKGBUILD
+++ b/linux-cachyos-eevdf/PKGBUILD
@@ -582,7 +582,7 @@ prepare() {
fi
### Disable DEBUG
- if [ -n "$_disable_debug" ]; then
+ if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
-d DEBUG_INFO_DWARF4 \
diff --git a/linux-cachyos-rc/PKGBUILD b/linux-cachyos-rc/PKGBUILD
index bd33a07f..d4e3f08f 100644
--- a/linux-cachyos-rc/PKGBUILD
+++ b/linux-cachyos-rc/PKGBUILD
@@ -581,7 +581,7 @@ prepare() {
fi
### Disable DEBUG
- if [ -n "$_disable_debug" ]; then
+ if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
-d DEBUG_INFO_DWARF4 \
diff --git a/linux-cachyos-rt/PKGBUILD b/linux-cachyos-rt/PKGBUILD
index ba103199..69527f6c 100644
--- a/linux-cachyos-rt/PKGBUILD
+++ b/linux-cachyos-rt/PKGBUILD
@@ -582,7 +582,7 @@ prepare() {
fi
### Disable DEBUG
- if [ -n "$_disable_debug" ]; then
+ if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
-d DEBUG_INFO_DWARF4 \
diff --git a/linux-cachyos-server/PKGBUILD b/linux-cachyos-server/PKGBUILD
index c4af81ca..b48afd14 100644
--- a/linux-cachyos-server/PKGBUILD
+++ b/linux-cachyos-server/PKGBUILD
@@ -582,7 +582,7 @@ prepare() {
fi
### Disable DEBUG
- if [ -n "$_disable_debug" ]; then
+ if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
-d DEBUG_INFO_DWARF4 \
diff --git a/linux-cachyos/PKGBUILD b/linux-cachyos/PKGBUILD
index 29eb3857..b19e1033 100644
--- a/linux-cachyos/PKGBUILD
+++ b/linux-cachyos/PKGBUILD
@@ -582,7 +582,7 @@ prepare() {
fi
### Disable DEBUG
- if [ -n "$_disable_debug" ]; then
+ if [[ "$_cpusched" != "sched-ext" && -n "$_disable_debug" ]]; then
scripts/config -d DEBUG_INFO \
-d DEBUG_INFO_BTF \
-d DEBUG_INFO_DWARF4 \