Freenix
Freenix forum

Home » Community » General Info and Discussion » Auto-compile the latest kernel! (A helper script for keeping things shiny.)
icon10.gif  Auto-compile the latest kernel! [message #1] Wed, 18 January 2017 23:12 Go to next message
ryanpcmcquen is currently offline  ryanpcmcquen
Messages: 2
Registered: January 2017
Junior Member

Ahoy freedom fighters! I've put together a little script that grabs the latest Linux-libre kernel and compiles it. Adding an entry to LILO along the way. Enjoy!

https://github.com/ryanpcmcquen/linuxTweaks/blob/master/slackware/kernelLibreLatestMe.sh

Installation and usage instructions are at the top of the script.

[Updated on: Thu, 19 January 2017 09:43]

Report message to a moderator

Re: Auto-compile the latest kernel! [message #2 is a reply to message #1] Thu, 19 January 2017 00:57 Go to previous messageGo to next message
connie is currently offline  connie
Messages: 28
Registered: January 2017
Junior Member
Freenix Ninja
I think some computers will only work with elilo.
Re: Auto-compile the latest kernel! [message #3 is a reply to message #1] Thu, 19 January 2017 01:39 Go to previous message
ryanpcmcquen is currently offline  ryanpcmcquen
Messages: 2
Registered: January 2017
Junior Member

It will not add a LILO entry if your system doesn't have LILO.

Also if you use EFI, I made a script to replace LILO, so you can still run it on kernel upgrades:

https://github.com/ryanpcmcquen/linuxTweaks/blob/master/slackware/EFI/lilo

Installed like so:

## Detect efi and replace lilo with a script that works:
if [ -d /boot/efi/EFI/boot/ ]; then
  cp -v /sbin/lilo /sbin/lilo.orig
  wget -N https://raw.githubusercontent.com/ryanpcmcquen/linuxTweaks/master/slackware/EFI/lilo -P /sbin/
fi

[Updated on: Thu, 19 January 2017 09:43]

Report message to a moderator

Next Topic: main www repo emacspeak*z unavailabale
Goto Forum:
  


Current Time: Thu Mar 28 15:53:45 EDT 2024

Total time taken to generate the page: 0.01317 seconds