[Reproducible-builds] Variation in day

Reiner Herrmann reiner at reiner-h.de
Tue Feb 24 21:08:53 UTC 2015


Hi,

after Faux found a package with a variation not in time, but only
in the date [1] because it was built around midnight, I had an idea
about how to get a variation in the day, without having to change
the clock of the host.

Varying the timezone between the first and second build to the
lowest and highest possible offset gives a difference of about
one day:

$ TZ=/usr/share/zoneinfo/Etc/GMT+12 date
Tue Feb 24 09:05:40 GMT+12 2015
$ TZ=/usr/share/zoneinfo/Etc/GMT-14 date
Wed Feb 25 11:05:49 GMT-14 2015

It is even possible to cover a day and 2 hours. :)
(Perhaps it's even possible to create custom timezones, that
would allow even larger variations like a year or so...?)

What do you think about this approach?
Would there be any disadvantages, and does anyone know
of tools that ignore the TZ setting?

Regards,
 Reiner

[1]: https://reproducible.debian.net/cp2k

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/reproducible-builds/attachments/20150224/b9289f35/attachment.sig>


More information about the Reproducible-builds mailing list