From af3fd6e71336bacd41235475577c9c0b92368e06 Mon Sep 17 00:00:00 2001 From: DogeyStamp Date: Wed, 29 Dec 2021 11:38:15 -0500 Subject: [PATCH] Enable modules in kcon, and switch to nconfig from menuconfig --- src/.local/bin/kcon | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/src/.local/bin/kcon b/src/.local/bin/kcon index b50c530..2c84134 100755 --- a/src/.local/bin/kcon +++ b/src/.local/bin/kcon @@ -4,7 +4,10 @@ cd /usr/src/linux -make menuconfig +make nconfig + +# Alternatively +#make menuconfig # Stop the script here if you only need to configure sleep 2 @@ -13,14 +16,14 @@ sleep 2 make -j8 notify-send "Kernel compilation finished." -# Loadable modules are disabled in my configuration. -#make modules_install +# Comment out this line if you disable modules +make modules_install # Install kernel to /boot make install # Generate initramfs -genkernel --install --kernel-config=.config --luks initramfs --no-ramdisk-modules +genkernel --install --kernel-config=.config --luks initramfs #--no-ramdisk-modules # Uncomment for modules # Regenerate grub config update-grub