diff options
author | Luca BRUNO <luca.bruno@coreos.com> | 2021-06-22 10:42:36 +0000 |
---|---|---|
committer | Luca BRUNO <luca.bruno@coreos.com> | 2021-06-22 12:15:18 +0000 |
commit | 70a8f56ce134a718b9b09a7ca14de7513865e516 (patch) | |
tree | da0e3ab7cf3e7a89d087f188955347f9f2d538e5 /Makefile-tests.am | |
parent | 47b7b1efc27291a6e2a0f732ade7db310d377044 (diff) | |
download | ostree-70a8f56ce134a718b9b09a7ca14de7513865e516.tar.gz |
lib/commit: respect SOURCE_DATE_EPOCH for commit timestamp
This tweaks `ostree_repo_write_commit` so that it checks for the
envinroment variable `SOURCE_DATE_EPOCH` as a way to override
the current time, which is used as the commit timestamp.
Ref: https://reproducible-builds.org/docs/source-date-epoch/
Ref: https://reproducible-builds.org/specs/source-date-epoch/
Diffstat (limited to 'Makefile-tests.am')
-rw-r--r-- | Makefile-tests.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile-tests.am b/Makefile-tests.am index c99a7ede..295c734e 100644 --- a/Makefile-tests.am +++ b/Makefile-tests.am @@ -69,6 +69,7 @@ _installed_or_uninstalled_test_scripts = \ tests/test-remote-add.sh \ tests/test-remote-headers.sh \ tests/test-commit-sign.sh \ + tests/test-commit-timestamp.sh \ tests/test-export.sh \ tests/test-help.sh \ tests/test-libarchive.sh \ |