Fully automated kernel compile for Quirky Linux


This directory contains scripts and source to fully automate patching and compiling of the kernel and modules. The result is also packaged into a kernel source PET and to kernel binary and headers PET packages (hosted at distro.ibiblio.org/quirky/).

Instructions

Download build-kernel-<ver>.tar.gz and expand it. It will expand as folder build-kernel-<ver>. Copy the contents to /usr/src, or create /usr/src as a symlink to build-kernel-<ver>.

Rename the file DOTconfig-<ver> as just DOTconfig.

You also need the base linux source, for example linux-4.14.tar.bz2 for all 4.14.x. Download the source to /usr/src. Don't expand it, the 1kernel.sh script will do that, and will apply the sub-version patch (for example 4.14.1 patch). If not in the online folder that you downloaded from, it will be in an earlier folder.

That's it, you are ready to go. Run the three scripts in sequence, starting with:
# ./1kernel.sh

Notes

It is recommended that you compile the kernel in the same version/family of Quirky Linux for which you intend to use the kernel. The kernel is sensitive to the version of 'gcc' (the Gnu C compiler) used to compile it, and later on if a user wants to compile any 3rd-party kernel driver, it is necessary that they should be using the same version of gcc.

Regards,
Barry Kauler
November 2017
http://bkhome.org/news/