[Reproducible-builds] Binary packages preserving timestamps from source files

Jérémy Bobbio lunar at debian.org
Tue Feb 4 13:16:02 UTC 2014


Stéphane Glondu:
> Le 04/02/2014 10:59, Jérémy Bobbio a écrit :
> > As I wrote in one of my answers to Guillem:
> > “Most packages that I have seen so far do not propagate timestamps when
> > copying a file from source.  Could you give me an example of one that
> > would do so?”
> > 
> > No one has been able to give me an example so far. If anyone has an idea
> > on how to find one, or can find one, that would be great.
> 
> dh_install (and I guess other tools from the debhelper suite) calls cp
> with -a, which preserves timestamps.
> 
> In hello, the (modification) timestamp of NEWS and debian/copyright are
> preserved.

Thanks a lot.

I'll try to update my patch [1] so it preserves these timestamps. As
I've said, the idea is that we can consider any files which has been
created after the build started as new, and so force it to have the same
timestamp as all other files in this situation.

[1] http://anonscm.debian.org/gitweb/?p=reproducible/dpkg.git;a=commit;h=5692b4e82

-- 
Lunar                                .''`. 
lunar at debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20140204/2d3ff65f/attachment.sig>


More information about the Reproducible-builds mailing list