- config : shallow clones the linux 5.7.x git tree into the folder linux-5.7, then applies on it the extra patches and prepares the .config file by copying the one from the current linux system in /boot/config-`uname -r` and updates it.
- install : [Debian-like only (Debian, Ubuntu, Pop_os!...)], does the config step, proceeds to compile, then prompts to install
- uninstall : [Debian-like only (Debian, Ubuntu, Pop_os!...)], lists the installed custom kernels through this script, then prompts for which one to uninstall."
- config : shallow clones the linux ${_basekernel}.x git tree into the folder linux-${_basekernel}, then applies on it the extra patches and prepares the .config file
by copying the one from the current linux system in /boot/config-`uname -r` and updates it.
- install : [RPM and DEB based distros only], does the config step, proceeds to compile, then prompts to install
- uninstall-help : [RPM and DEB based distros only], lists the installed kernels in this system, then gives a hint on how to uninstall them manually."
exit0
fi
@ -44,22 +47,52 @@ _misc_adds="false" # We currently don't want this enabled on non-Arch
if["$1"="install"]||["$1"="config"];then
source linux*-tkg-config/prepare
if[ -z $_distro]&&["$1"="install"];then
while true;do
echo"Which linux distribution are you running ?"
echo"if it's not on the list, chose the closest one to it: Fedora/Suse for RPM, Ubuntu/Debian for DEB"
echo" 1) Debian"
echo" 2) Fedora"
echo" 3) Suse"
echo" 4) Ubuntu"
read -p "[1-4]: " _distro_index
if[$1="install"]&&["$_distro" !="Ubuntu"];then
msg2 "Variable \"_distro\" in \"customization.cfg\" hasn't been set to \"Ubuntu\""
msg2 "This script can only install custom kernels for Ubuntu and Debian derivatives. Exiting..."
- config : shallow clones the linux 5.8.x git tree into the folder linux-5.8, then applies on it the extra patches and prepares the .config file by copying the one from the current linux system in /boot/config-`uname -r` and updates it.
- install : [Debian-like only (Debian, Ubuntu, Pop_os!...)], does the config step, proceeds to compile, then prompts to install
- uninstall : [Debian-like only (Debian, Ubuntu, Pop_os!...)], lists the installed custom kernels through this script, then prompts for which one to uninstall."
- config : shallow clones the linux ${_basekernel}.x git tree into the folder linux-${_basekernel}, then applies on it the extra patches and prepares the .config file
by copying the one from the current linux system in /boot/config-`uname -r` and updates it.
- install : [RPM and DEB based distros only], does the config step, proceeds to compile, then prompts to install
- uninstall-help : [RPM and DEB based distros only], lists the installed kernels in this system, then gives a hint on how to uninstall them manually."
exit0
fi
@ -44,22 +47,52 @@ _misc_adds="false" # We currently don't want this enabled on non-Arch
if["$1"="install"]||["$1"="config"];then
source linux*-tkg-config/prepare
if[ -z $_distro]&&["$1"="install"];then
while true;do
echo"Which linux distribution are you running ?"
echo"if it's not on the list, chose the closest one to it: Fedora/Suse for RPM, Ubuntu/Debian for DEB"
- config : shallow clones the linux 5.9.x git tree into the folder linux-5.9, then applies on it the extra patches and prepares the .config file by copying the one from the current linux system in /boot/config-`uname -r` and updates it.
- install : [Debian-like only (Debian, Ubuntu, Pop_os!...)], does the config step, proceeds to compile, then prompts to install
- uninstall : [Debian-like only (Debian, Ubuntu, Pop_os!...)], lists the installed custom kernels through this script, then prompts for which one to uninstall."
- config : shallow clones the linux ${_basekernel}.x git tree into the folder linux-${_basekernel}, then applies on it the extra patches and prepares the .config file
by copying the one from the current linux system in /boot/config-`uname -r` and updates it.
- install : [RPM and DEB based distros only], does the config step, proceeds to compile, then prompts to install
- uninstall-help : [RPM and DEB based distros only], lists the installed kernels in this system, then gives a hint on how to uninstall them manually."
exit0
fi
@ -44,22 +47,52 @@ _misc_adds="false" # We currently don't want this enabled on non-Arch
if["$1"="install"]||["$1"="config"];then
source linux*-tkg-config/prepare
if[ -z $_distro]&&["$1"="install"];then
while true;do
echo"Which linux distribution are you running ?"
echo"if it's not on the list, chose the closest one to it: Fedora/Suse for RPM, Ubuntu/Debian for DEB"
echo" 1) Debian"
echo" 2) Fedora"
echo" 3) Suse"
echo" 4) Ubuntu"
read -p "[1-4]: " _distro_index
if[$1="install"]&&["$_distro" !="Ubuntu"];then
msg2 "Variable \"_distro\" in \"customization.cfg\" hasn't been set to \"Ubuntu\""
msg2 "This script can only install custom kernels for Ubuntu and Debian derivatives. Exiting..."