[Clfs-support] sub-level kernel patch in clfs recipes question
Chris Staub
chris at beaker67.com
Wed Feb 11 11:15:06 PST 2015
On 02/11/15 13:52, lux-integ wrote:
> Greetings,
>
> Can someone explain the reason for the use of 'sub-level' kernel patches'
> for example:-
> xzcat ../patch-3.14.21.xz | patch -Np1 -i -
>
> mentioned in clfs-builds :-
> http://clfs.org/view/git/x86_64/cross-tools/linux-headers.html
> and here
> http://clfs.org/view/git/x86_64/final-system/linux-headers.html
> and here
> http://clfs.org/view/git/x86_64/bootable/kernel.html
>
>
> ( I am using linux-3.18.5 and the correspending patch-3.18.5.xz )
> For the first time I applied the required patch in all three places and
> when I came to compile the kernel -make failed
> Bit it compiled fine without the patch.
>
> ( I did repeat runs and executed 'make mrproper' after applying the patch )
> and make failed every time.)
>
> Comments welcomed.
Look a bit more closely. Note that the actual linux tarball used isn't
3.14.21, but 3.14 (see the "Note" on the page, and look again at the
Packages download page). The purpose of the patch is to update the
kernel sublevel version - the 3.14.21 patch is applied to the 3.14
source tree, and updates it to 3.14.21. Similarly, if you're using
3.18.5, you would download 3.18, then apply the 3.18.5 patch - or, just
use 3.18.5 if you've already downloaded that tarball.
More information about the Clfs-support
mailing list