This BASH script automates the procedure of getting the Fedora kernel headers, that was discussed in my previous post about preparing the complete kernel headers. It’s at a very early stage, does not include many checks, but does the job well, if configured properly. The configuration options are inside the script and they are mainly the directory paths of your building tree.
Note: The script does not allow you to execute it as
root. Comment the relevant line if you do not like this behaviour.
Installation: put it in
~/bin/ directory and enable the executable attribute.
Usage: Simply type its filename in a shell.
Requires: wget, rpm, rpmbuild, sed
Download the script from the link below:
Get my kernel headers script by George Notaras is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.
Copyright © 2005 - Some Rights Reserved