Skip to content

Commit

Permalink
Reduce number of kernel configurators
Browse files Browse the repository at this point in the history
We have 4 interfaces for kernel configuration, most of which have the
same functionality and differ only in the rendering backend. gconfig
uses GTK2 which is EOL, and unlikely anyone will install it just for
gconfig when there are alternatives like xconfig which is based on Qt5 /
Qt 6. Similarly in the case of TUI, instead of menuconfig, here we have
ncurses based nconfig which is supported by most terminals.

Signed-off-by: Vasiliy Stelmachenok <[email protected]>
  • Loading branch information
ventureoo committed Jan 28, 2025
1 parent 87c2b4f commit e374a6a
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 120 deletions.
12 changes: 0 additions & 12 deletions linux-cachyos-bmq/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
Expand Down Expand Up @@ -488,15 +482,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
12 changes: 0 additions & 12 deletions linux-cachyos-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
Expand Down Expand Up @@ -488,15 +482,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
12 changes: 0 additions & 12 deletions linux-cachyos-deckify/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
Expand Down Expand Up @@ -489,15 +483,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
12 changes: 0 additions & 12 deletions linux-cachyos-eevdf/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
Expand Down Expand Up @@ -488,15 +482,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
12 changes: 0 additions & 12 deletions linux-cachyos-hardened/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
Expand Down Expand Up @@ -482,15 +476,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
12 changes: 0 additions & 12 deletions linux-cachyos-lts/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
Expand Down Expand Up @@ -480,15 +474,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
12 changes: 0 additions & 12 deletions linux-cachyos-rc/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
Expand Down Expand Up @@ -549,15 +543,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
12 changes: 0 additions & 12 deletions linux-cachyos-rt-bore/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
Expand Down Expand Up @@ -488,15 +482,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
12 changes: 0 additions & 12 deletions linux-cachyos-server/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
Expand Down Expand Up @@ -484,15 +478,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down
12 changes: 0 additions & 12 deletions linux-cachyos/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -25,15 +25,9 @@
### Tweak kernel options prior to a build via nconfig
: "${_makenconfig:=no}"

### Tweak kernel options prior to a build via menuconfig
: "${_makemenuconfig:=no}"

### Tweak kernel options prior to a build via xconfig
: "${_makexconfig:=no}"

### Tweak kernel options prior to a build via gconfig
: "${_makegconfig:=no}"

# NUMA is optimized for multi-socket motherboards.
# A single multi-core CPU actually runs slower with NUMA enabled.
# See, https://bugs.archlinux.org/task/31187
Expand Down Expand Up @@ -550,15 +544,9 @@ prepare() {
### Running make nconfig
[ "$_makenconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" nconfig

### Running make menuconfig
[ "$_makemenuconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" menuconfig

### Running make xconfig
[ "$_makexconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" xconfig

### Running make gconfig
[ "$_makegconfig" = "yes" ] && make "${BUILD_FLAGS[@]}" gconfig

### Save configuration for later reuse
echo "Save configuration for later reuse..."
local basedir="$(dirname "$(readlink "${srcdir}/config")")"
Expand Down

0 comments on commit e374a6a

Please sign in to comment.