Kernel checker
Introduction
Ever thought of compiling a custom kernel, but held back because of the need for manual tracking, compilation and installation? Well, I say no more. This tool can do it for you.
What does it do?
- Periodically check for updates on kernel.org
- Download a new kernel if available
- Verify the kernel signature
- Compile and install the kernel
- Nofity the users about what is going on (tested only on Xfce).
- Remove a distribution kernel if present (currently only on Arch and Manjaro).
Installation
- Clone and navigate to the repository, then run
sudo ./install
- Copy your existing kernel .config file to
/root/.config/kernel/.config
. If you don't know how to create this file, this tool isn't for you.
This script runs as root. Isn't that unsafe?
In a non-interactive script, it's much easier to run priveleged by default and drop priveleges as needed, instead of requiring authentication every time. If you know of a fully non-interactive way of achieving on-the-fly enhanced priveleges though, feel free to open a pull request.
I want to use this code in my own projects. What license do you use?
This work is licensed under the CC BY-NC 4.0 license, which you can read more about here. In a nutshell, this means:
- You can copy and redistribute the material in any medium or format.
- You can remix, transform, and build upon the material.
Provided that:
- You give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggest the licensor endorses you or your use.
- You do not use the material for commercial purposes.
Contact me
If you have any questions, encountered bugs, feature requests, etc. about this project, please send me a message on Facebook, and I'll get back to you as soon as possible. If you find this an interesting project, consider following me there also!