Jérémy Bobbio:
> Jonathan Nieder:
> > > I disagree that this is important information. 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?
> >
> > See http://www.debian.org/doc/debian-policy/ch-source.html#s-timestamps
> 
> This got out of my mind. Thanks for the pointer.

If dpkg is getting its own tar implementation, I think the following
could work:

If we record the time when the build starts, we know that any files
created after that time are newly created files. So we can use a unique
timestamp for all of them.

(This could be done manually by touch'ing the files.)

Together with the approach mentioned previously (using
DEB_BUILD_TIMESTAMP), this could allow rebuilds with the aforementioned
unique timestamp preset to the date of the initial build.

-- 
Lunar                                .''`. 
lu...@debian.org                    : :Ⓐ  :  # apt-get install anarchism
                                    `. `'` 
                                      `-   

Attachment: signature.asc
Description: Digital signature

Reply via email to