1
0
Fork 0

Compare commits

...

2 Commits

Author SHA1 Message Date
Pratham Patel 4079e09b10
forgot the "--assumeyes" from the rpm to dnf transition 2024-04-18 17:10:23 +05:30
Pratham Patel 47c4d58a01
enable CONFIG_ZRAM 2024-04-18 17:08:58 +05:30
2 changed files with 3 additions and 2 deletions

View File

@ -38,8 +38,9 @@ function modify_kernel_config() {
./scripts/config --enable CONFIG_IKCONFIG_PROC
./scripts/config --enable CONFIG_IKHEADERS
# defconfig does not enable XFS
# defconfig does not enable these
./scripts/config --enable CONFIG_XFS_FS
./scripts/config --enable CONFIG_ZRAM
# "de-branding" and "re-branding"
./scripts/config --disable CONFIG_LOCALVERSION_AUTO

View File

@ -25,5 +25,5 @@ if [[ -z "${1:-}" ]]; then
install_kernel
else
# shellcheck disable=SC2046
sudo dnf remove $(rpm -qa | grep '^kernel' | grep "$1")
sudo dnf remove --assumeyes $(rpm -qa | grep '^kernel' | grep "$1")
fi