It provides to upgrade Linux kernel to latest version for Debian/Ubuntu and derivatives.
Version | Stability | Features | Performance | Security | Compatibility |
---|---|---|---|---|---|
Release Candidate | Low | Many | Normal | Very High | Low |
Testing | Normal | Some | Normal | High | Normal |
Stable | High | Few | Low | Normal | Very High |
It removes old Linux kernel images/headers in machine for Debian/Ubuntu and derivatives.
Dependencies
sudo apt install git make wget
Download & Install
git clone https://github.com/usbkey9/uktools && cd uktools
make
Now you can call the script whereever you are
sudo uktools-upgrade
sudo uktools-purge
You can re-run setup script by
./setup
Logs are available with
cat /var/log/ukt.log
sudo apt install wget && \
cd /usr/src && \
sudo wget https://github.com/usbkey9/uktools/archive/master.tar.gz && \
sudo tar -xvf master.tar.gz && \
sudo rm -fr master.tar.gz && \
cd uktools-master && \
sudo chown ${USER:=$(id -run)}:$USER ../uktools-master && \
./src/upgrade -d
Ubuntu kernel packages comes from this archive
Auto Run can be enabled/disabled in setup
- If enabled, upgrade will be done automatically by cronjob each 2hours.
Incompatibilities with RC and testing version
- Linux Tools (perf, usb over ether, kbuild)
- Canonical Livepatch
- Some misconfigured packages (eg rtl8812au-dkms/4.3.8)
- Obviously all packages not compatible with very last versions of kernel (eg sysdig)
TODO
- Test MakeFile
- check install of each kernel's versions
- check message of the day with ssh connection just after install
- check call parameters
- check "no need to upgrade" by running script two times in a row
- check if script keep the very last version of minor kernel
- eg with Ubuntu 18.04 :
Versions | Keep |
---|---|
4.13.0-39 | ✗ |
4.13.0-41 | ✓ |
4.15.0-32 | ✗ |
4.15.0-34 | ✓ |
4.16.5 | ✗ |
4.16.6 | ✗ |
4.16.7 | ✓ |