On 2011-03-21 18:36, Kamal Mostafa wrote:
Thanks Stefan.
On Mon, 2011-03-21 at 11:21 +0100, Stefan Bader wrote:
Generally you only need any headers package when there is an abi bump.
I think that might be much more common scenario than we generally take
into account...
For most "regular people" who aren't building and installing new kernels
every day like we do, the very first time they try to build their own
kernel they're pretty likely to be running a different ABI than the one
their building. No?
Another interesting side effect is that *if* you install the headers,
DKMS will work for your new kernel. That could both be what you want (e
g to make virtualbox etc work) but also what you don't want (if you want
a clean test).
But for
simplicity I don't see any reason to describe building the headers package as
well.
I think you meant to say "I don't see any reason NOT to describe..."
I must admit, that I never tried multiple targets in one run, but I guess
you have and it works.
Yup, debian/rules just a makefile -- multiple targets works fine. Even
something like this works:
fakeroot debian/rules clean binary-headers binary-generic
^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^
Hmm, this seems dangerous to me, at least in combination with the "-j"
switch. Isn't there a possibility that clean will run in parallel with
the binary targets, or should this prevented inside the makefiles somehow?
Combining "binary-headers" with "binary-generic" seems safe to me though.
--
David Henningsson, Canonical Ltd.
http://launchpad.net/~diwic
--
kernel-team mailing list
kernel-team@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kernel-team