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

Re: proposed release goal: DEBIAN/md5sums for all packages



On Fri, Aug 17, 2007 at 05:05:28PM -0500, Peter Samuelson wrote:
> I'd opt for dpkg generating the checksums upon _extracting_ the .deb
> file.  [...]

Where's the code for that?

Changing write_filelist_except to update a new .md5 control file ought to
be possible. You'd probably want to add a *newhash to struct filenamenode,
though, and fill it out when unpacking, but working out the hash while
unpacking (rather than running over every file to be unpacked twice)
would mean hax0ring into the fd_fd_copy() invocation in tarobject()
(archives.c), which seems tricky.

Cheers,
aj

Attachment: signature.asc
Description: Digital signature


Reply to: