Skip to content

Commit

Permalink
Prevent to disabling debug with sched-ext - fix flag
Browse files Browse the repository at this point in the history
Signed-off-by: Piotr Gorski <[email protected]>
  • Loading branch information
sirlucjan committed Nov 2, 2023
1 parent 6a14d46 commit 216ab14
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 0 deletions.
2 changes: 2 additions & 0 deletions linux-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 2 additions & 0 deletions linux-cachyos-bore-rt/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 2 additions & 0 deletions linux-cachyos-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 2 additions & 0 deletions linux-cachyos-eevdf/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 2 additions & 0 deletions linux-cachyos-rc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 2 additions & 0 deletions linux-cachyos-rt/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 2 additions & 0 deletions linux-cachyos-server/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down
2 changes: 2 additions & 0 deletions linux-cachyos/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
Expand Down

0 comments on commit 216ab14

Please sign in to comment.