diff options
author | Allan McRae <allan@archlinux.org> | 2017-05-12 12:41:20 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2017-05-16 12:54:01 +1000 |
commit | d30878763ce1b5be453b563f2729d7333242e79b (patch) | |
tree | 453e67a0e740d25cad64a553eb6aa8fcfb6898ce /scripts/libmakepkg/integrity/generate_checksum.sh.in | |
parent | 5f3812868600488de585771273e12a3e68a4d366 (diff) |
makepkg: introduce SOURCE_DATE_EPOCH
This patch introduces the SOURCE_DATE_EPOCH environmental variable. All files
in a package are adjusted to have their modification dates set to the value
of SOURCE_DATE_EPOCH, which defaults to "date +%s".
Setting this variable allows a package that is built twice in the same
environment to be (potentially) reproducible in that the checksum of the
generated package file will be the same.
Also adjust the compression of the mtree file to avoid gzip embedding a
timestamp.
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
Diffstat (limited to 'scripts/libmakepkg/integrity/generate_checksum.sh.in')
0 files changed, 0 insertions, 0 deletions