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

Re: Keeping information on the build system



Le mar, oct 16, 2001, à 10:15:52 +0200, Yann Dirson a écrit:

> > Alternatively, couldn't this information be collapsed into special-purpose,
> > generated control fields, with some facility to let dpkg filter that out of
> > available on systems which don't need to keep that information around ?

> 
> If we must modify dpkg anyway, why not add this sort of info in a way
> similar to package signatures ?  Signing a deb twice gives me:

I wrote about something similar (but you got the technical details and
testing done, unlike me) yesterday night in -users-french.

> $ ar tv comerr-dev_2.0-1.25-1_i386.deb 
> rw-r--r-- 0/0      4 Sep 22 17:16 2001 debian-binary
> rw-r--r-- 0/0   1611 Sep 22 17:16 2001 control.tar.gz
> rw-r--r-- 0/0  37449 Sep 22 17:16 2001 data.tar.gz
> rw-r--r-- 1000/100     72 Oct 16 10:06 2001 _gpgfoo
> rw-r--r-- 1000/100     72 Oct 16 10:06 2001 _gpgbar

This looks to me like the least obtrusive way to do. We have the info if
it's really needed, but for the 99.9999% of the time it just wastes space, we 
don't have it. The only people screwed in this scheme are those who don't
have an up-to-date system *and* haven't kept around a copy of the .debs
(like, a CD). A very minor annoyance in my book.

OTOH, integrating this would be slightly more difficult than your current
dh_buildinfo, wouldn't it ? I sense a (semi-trivial ?) modification of the 
.deb build toolchain.

How (where) are these _gpgfoo and _gpgbar files added nowadays ?
Would adding an APPENDICES directory in debian/tmp, whose contents would be
simply "ar r"'d to the final .deb archive, make sense ? Hmm. A half-trivial
modification of dpkg-deb.

	-- Cyrille

-- 
Grumpf.



Reply to: