Skip to content

Commit

Permalink
PKGBUILD: Remove cachyos from $cpusched options
Browse files Browse the repository at this point in the history
This option served two purposes in the past:
1. <6.6: Chooses BORE+EEVDF+sched-ext, at this time, CFS was still the default scheduler
2. <6.12: Chooses BORE+sched-ext

Now, this option has no difference than `bore` and only serves to confuse the user. This can also help the PKGBUILDs
that have `cachyos-$_cpusched` as suffixes, since unknowingly choosing `cachyos` will lead to a package name of
`linux-cachyos-cachyos`.

Signed-off-by: Eric Naim <[email protected]>
  • Loading branch information
1Naim committed Dec 30, 2024
1 parent 31b07fe commit fd701cc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions linux-cachyos-rc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,8 @@ _cachy_config=${_cachy_config-y}
# 'bore' - select 'Burst-Oriented Response Enhancer'
# 'bmq' - select 'BMQ Scheduler'
# 'hardened' - select 'BORE Scheduler hardened' ## kernel with hardened config and hardening patches with the bore scheduler
# 'cachyos' - select 'CachyOS Default Scheduler (BORE)'
# 'eevdf' - select 'EEVDF Scheduler'
_cpusched=${_cpusched-cachyos}
_cpusched=${_cpusched-bore}

### Tweak kernel options prior to a build via nconfig
_makenconfig=${_makenconfig-}
Expand Down Expand Up @@ -263,7 +262,7 @@ fi

## List of CachyOS schedulers
case "$_cpusched" in
cachyos|bore|hardened) # CachyOS Scheduler (BORE)
bore|hardened) # CachyOS Scheduler (BORE)
source+=("${_patchsource}/sched/0001-bore-cachy.patch");;&
bmq) ## Project C Scheduler
source+=("${_patchsource}/sched/0001-prjc-cachy.patch");;
Expand Down

0 comments on commit fd701cc

Please sign in to comment.