Re: How to add checksums for all files to dpkg
-----BEGIN PGP SIGNED MESSAGE-----
Bruce Perens, in an immanent manifestation of deity, wrote:
> echo "generating checksums."
> (cd debian/tmp;md5sum `find . -type f -print`)>md5sum
> mv md5sum debian/tmp/DEBIAN/md5sum
Ack. This would need to be in debian.rules since some packages need to
build several *.deb's and we don't to add directory parsing to
dpkg-buildpackage just for this. Or if we didn't mind feeping
creaturism, we could add it to dpkg-gencontrol since it understands this
already.
Also, might I suggest:
(cd $debian_tmp; find . -type f -print | xargs md5sum) > $debian_tmp/DEBIAN/md5sum
If you were paranoid or just had weird files, you could use '-print0 | xargs --null'
instead.
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
iQCVAwUBMoGjl44wrq++1Ls5AQEJrQQAgAhlpzeeIXCbmxWOzzRuz25ZbzdGI/Su
ZShg7a6GBDc9efI8QviWj0nui5necKqp023KppMFFZdRAgwVSPlwaK0Xi19kCSCk
4V/KER14yG3N0plbEniid2anTUFo+Q2TPVEKRd1HN4kAIdzJi09ioQIZlCPTjVFF
KNFHYfOWuiI=
=Gpvt
-----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: