[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: toward better module package building



Anthony Towns wrote:
> One thing we *really* need to start doing with modules is making
> sure prebuilt modules list their "Source:" as the appropriate
> kernel-source-*.dsc.

That sounds like a good idea.

> Getting the Source: field set right requires either a fair degree of
> hackery, or building pcmcia-modules-2.4.20.deb from within the unpacked
> kernel-source-2.4.20 source tree.

Hmm, I'm not sure how to do it. We need to change the Source: in the
.changes file right?

Changing the Source: in the .deb itself is not too hard:

        dh_gencontrol -- -Vkvers=$(KVERS) -DSource=kernel-source-$(KVERS)
	
> I'm not sure what impact apt-src has on this, or vice-versa.

That will work the same with or without apt-src.
However, that Source: does not show up in the .changes. Perhaps a flag
to pass to dpkg-genchanges is called for? Very nasty hacking of the
control file might also work but ugh.

-- 
see shy jo


-- 
To UNSUBSCRIBE, email to debian-devel-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: