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

Re: How to add checksums for all files to dpkg



-----BEGIN PGP SIGNED MESSAGE-----

Bruce Perens, in an immanent manifestation of deity, wrote:
>But don't we separate the contents into different directories before we
>invoke dpkg-buildpackage? I'm not sure you are right.

Nope.  dpkg-buildpackage is the overall shell wrapper for the entire
build process.  This would have to be done in either dpkg-gencontrol or
as lines in debian/rules.

I have the following lines in the binary-arch target of perl's debian/rules:
	dpkg-gencontrol -pperl
	dpkg-gencontrol -pperl-suid  -Pdebian/tmp-suid
	dpkg-gencontrol -pperl-debug -Pdebian/tmp-dbg

the md5sum process would have to know about these special directories
whenever it was run.  This is one reason it could be done in
dpkg-gencontrol.  This is slightly odorous since dpkg-gencontrol should
only generate control files.  Following the principal of least surprise
is almost always preferable.  It might work to put it in the process of
dpkg-deb --build but Ian has expressed concern about the size of
dpkg-deb...

Darren
- -- 
<torin@daft.com> <http://www.daft.com/~torin> <torin@debian.org> <torin@io.com>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Do you have your clothes on? I probably don't. Take yours off. Feel better. @
@ Sysadmin, webweaver, postmaster for hire.  C/Perl/CGI programmer and tutor. @

-----BEGIN PGP SIGNATURE-----
Version: 2.6.2
Comment: Processed by Mailcrypt 3.4, an Emacs/PGP interface

iQCVAwUBMoNjrY4wrq++1Ls5AQFYiAP/XAJbU9/Flq7RAEY2+43kAgMDAcOCFx3g
A5AFFoNzXrLehAQmcc8rj/VE6hIZmw7uWLQV+GPxmCZtn66thrKw6hW8a26fKtSL
tffX84gmY9AVr0iRMcDASdl29+rGsojFtzh0XlgL0wvFjOY8sUXdzNIWmVnePME6
Y1/H1aCHP/k=
=HzmQ
-----END PGP SIGNATURE-----

--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-REQUEST@lists.debian.org . Trouble? e-mail to Bruce@Pixar.com


Reply to: