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

Re: Dealing with get-orig-source and md5sum



On Fri, 20 Jun 2008 09:24:09 +0200, David Paleino wrote:

> On Thu, 19 Jun 2008 20:05:31 -0400, Felipe Sateler wrote:
> 
> > David Paleino wrote:
> > 
> > > Now, the fact is that the resulting tarball has very different md5sums at
> > > each run -- and I found no way to have the same exact md5sum of the
> > > .orig.tar.gz that would be uploaded to Debian:
> > > 
> > > [..]
> > > 
> > > I thought that this could be related to timestamps -- but I found no
> > > option in `man tar` to remove timestamps from archived files (I thought
> > > that, removing timestamps, the files would have been all the same).
> > > I can also confirm that the files in the archives are always the same
> > > (checked with `tar -tf` and diffing the lists).
> > > 
> > > What can I do here?
> > 
> > AFAIK the problem is not tar, but gzip. If I read correctly man gzip, your
> > solution would be to use tar first, and then gzip -9n.
> 
> -n... I'll try that, thanks :)

Great, it worked :)

Many thanks,
David

-- 
 . ''`.  Debian maintainer | http://wiki.debian.org/DavidPaleino
 : :'  : Linuxer #334216 --|-- http://www.hanskalabs.net/
 `. `'`  GPG: 1392B174 ----|---- http://snipr.com/qa_page
   `-   2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174

Attachment: signature.asc
Description: PGP signature


Reply to: