Re: md5sums files
On Wed, Mar 03, 2010 at 06:50:28PM -0600, Peter Samuelson wrote:
> [Harald Braumann]
> > On Wed, Mar 03, 2010 at 05:41:26PM -0600, Peter Samuelson wrote:
> > >
> > > [Harald Braumann]
> > > > > Given a .deb, turning the data.tar.gz into foo.md5sums is a SMOP.
> > > > > This could be before, during, or after the deb is unpacked.
> > >
> > > > If you create the hashes at unpack time, you don't catch errors that
> > > > happen during unpack.
> > >
> > > You mean errors reading the data.tar.gz file? That is what the gzip
> > > checksum is for, as I said later in my email.
> > Errors writing a file.
> Did you read the text you quoted?
> Given a .deb, turning the data.tar.gz into foo.md5sums is a SMOP.
> (By "SMOP", I meant "simple matter of programming".)
> This has nothing to do with writing a file, except writing
> /var/lib/dpkg/info/foo.md5sums, which is unavoidable.
I think I was finally able to decipher your message. But my other points still
hold. And while it is just a matter of programming, simple or not, it already
exists in debhelper. So doing it at build time is SMOAOLTDR, by which I mean
"simply a matter of adding one line to debian/rules".