On Tue, 2011-02-08 at 08:38 +0100, Ronny Standtke wrote:
> > Fortunately, after some trial and error, I successfully built a 
> > linux-headers-2.6.32-5-common_2.6.32-30a~test package with the following 
> > two 
> > commands:
> > 
> > ------------
> > export UPSTREAMVERSION="2.6.32-5"
> > fakeroot make -f debian/rules.real binary-arch-featureset
> > ------------
> > 
> > Is this the "right way"?
> 
> To partially answer my own question: No, the resulting package is not useable.
> 
> I had to use the following list of commands to build a package that worked 
> for 
> me:
> 
> ------------
> export VERSION="2.6.32"
> export UPSTREAMVERSION="2.6.32-5"
> export KERNEL_ARCH="x86"
> fakeroot make -f debian/rules.real binary-arch-featureset
> ------------
> 
> I still would like to know the official and supported way to build the
> linux-headers-x.y.z-a-common package. Ben?

You can use:

    fakeroot make -f debian/rules.gen binary-arch_i386_none

but this is subject to change at any time.  I would not say it is
official or supported.  Anyway, it shouldn't be necessary to rebuild the
header packages as there is no ABI change and the previous version
should be compatible.  Does live-build require an exact version match?

> The good thing is that the patch series Ben provided seems to fix the 
> problem. 
> At least I did no longer run into this bug for more than a week now.

OK, we'll include these changes in an update to squeeze.

Ben.

-- 
Ben Hutchings
Once a job is fouled up, anything done to improve it makes it worse.

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to