kernel update script for slackware
git clone https://github.com/fauzigo/kernel-slackware-efi-update.git
kernelCompiler.sh would download and compile the source, it may require some manual intervention if the new kernel has new features that your current kernel doesn't, you'll be promped as you normally would if you compile the kernel manually following this Documentation. I use huge kernels, therefore I name them that way. If you use different one you may want to rename the var.
The script would zcat what's in /proc/config.gz into the working directory. I'm assuming that changes/addition between MINOR versions are not as much as to make this script cumbersome to run. If you are upgrading MAYOR versions like from 4.16.x to 4.17.y, then you'll be propmted to select if you want the new modules. which may be quite a few.
Also my computer uses EFI, thus there is no need to run lilo everytime. For non efi computers, this script would need some love if you want to make it work in one run.
This script shouldn't screw up any active slackware installation, but it might.
Common sense if you use this. It worth noting that ad the end, mkinitrd is ran, change this line accordingly IMPORTANT
switchKernel.sh would make a switch between current kernel and the version you tell it to. Again, I use efi, which makes thing super simpler and easier.
bash kernelCompiler.sh 4.15.7
bash switchKernel.sh 4.15.7