BuildYourOwnKernel wiki edit?

Stefan Bader stefan.bader at canonical.com
Mon Mar 21 10:21:51 UTC 2011


On 03/19/2011 05:28 PM, Kamal Mostafa wrote:
> Hi folks-
> 
> Proposed wiki page edits...
> 
> https://wiki.ubuntu.com/Kernel/BuildYourOwnKernel recommends the
> sequence:
> 
>         fakeroot debian/rules clean
>         fakeroot debian/rules binary-generic
> 
> Now, I *always* also build 'binary-headers' since it is quick and often
> necessary (right?).  Is there any reason why we shouldn't change that
> wiki to recommend building 'binary-headers' also?:
> 
>         fakeroot debian/rules clean
>         fakeroot debian/rules binary-headers binary-generic
> 

Generally you only need any headers package when there is an abi bump. But for
simplicity I don't see any reason to describe building the headers package as
well. I must admit, that I never tried multiple targets in one run, but I guess
you have and it works. :)

So I would be ok with both changes. It might be overkill in some cases but at
least it is one recipe that works in all cases.

-Stefan
> I also propose making the Testing section explicitly state that you
> should always install all three resulting .debs together:
> 
>         dpkg -i  \
>                 linux-headers-2.6.38-6_2.6.38-6.34_all.deb  \
>                 linux-headers-2.6.38-6-generic_2.6.38-6.34_amd64.deb  \
>                 linux-image-2.6.38-6-generic_2.6.38-6.34_amd64.deb
> 
> Opinions?
> 
>  -Kamal
> 





More information about the kernel-team mailing list