Article

DamianMyerscough's picture
article
Reads:

6795

Score:
2
2
1
 
Comments:

0

Download Kernel Source

(View Disclaimer)

This script will download the latest vanilla kernel source, ChangeLog and signature file and sort them into the appropriate directories. The script also checks to see if the source file has been tampered with and also emails you when a new kernel has been downloaded. This script requires the GPG from the kernel.org website (http://www.kernel.org/signature.html) in order to check the authenticity of the kernel source archive.

This script is really useful if you want to have the latest vanilla kernel source at hand and be notified when a new kernel has been released.

The variables that you will need to edit are:

ROOT_DIR – This variable should specify a directory of where you would like to store the kernel source.

Proxy – If you don't have a proxy you will need to delete the default value of 10.0.0.1 or change it to your proxy servers IP address.

ADMIN – This variable holds the email addresses that should be notified when a new kernel has been released.

I strongly recommend putting this script in a cron job.

AttachmentSize
getKernel.txt6.35 KB

Disclaimer: As with everything else at Cool Solutions, this content is definitely not supported by Novell (so don't even think of calling Support if you try something and it blows up).

It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.




User Comments

© 2012 Novell