dots/.local/bin/kcon
DogeyStamp 91c28bdd1e
General overhaul
Updated zsh files, added aliases and scripts
Programs list updated to be more OS-agnostic
2021-10-02 11:21:15 -04:00

31 lines
573 B
Bash
Executable File

#!/bin/sh
# Configure the Gentoo kernel, then compile and install it
cd /usr/src/linux
make menuconfig
# Stop the script here if you only need to configure
sleep 2
# Compile kernel
make -j8
notify-send "Kernel compilation finished."
# Loadable modules are disabled in my configuration.
#make modules_install
# Install kernel to /boot
make install
# Generate initramfs
genkernel --install --kernel-config=.config --luks initramfs --no-ramdisk-modules
# Regenerate grub config
update-grub
# Notify when finished
tput bel
notify-send "Kernel installation finished."