diff options
author | Peter Alfredsen <crabbedhaloablution@icloud.com> | 2020-12-15 12:51:30 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-02-08 14:54:00 +0000 |
commit | e3f41379e12355f9cc1e79580af0a1e0dc7e89e2 (patch) | |
tree | d6367e3585eae027b9af42897e5de76c2a127faf /net-misc | |
parent | net-misc/chrony: remove RELOADDNS sed (diff) | |
download | gentoo-e3f41379e12355f9cc1e79580af0a1e0dc7e89e2.tar.gz gentoo-e3f41379e12355f9cc1e79580af0a1e0dc7e89e2.tar.bz2 gentoo-e3f41379e12355f9cc1e79580af0a1e0dc7e89e2.zip |
net-misc/chrony: add "export SOURCE_DATE_EPOCH"
Added "export SOURCE_DATE_EPOCH=1607976314". Update when updating
ebuild. If not set, "date '+%s'" is used instead.
This is a problem when the build host is not synchronized to NTP,
since if time obtained from NTP is prior to build date, NTP time
may underflow.
Signed-off-by: Peter Alfredsen <crabbedhaloablution@icloud.com>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/chrony/chrony-9999.ebuild | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/net-misc/chrony/chrony-9999.ebuild b/net-misc/chrony/chrony-9999.ebuild index 9359312d9029..182761799236 100644 --- a/net-misc/chrony/chrony-9999.ebuild +++ b/net-misc/chrony/chrony-9999.ebuild @@ -87,6 +87,10 @@ src_configure() { tc-export CC PKG_CONFIG + # Update from time to time with output from "date +%s" + # on a system that is time-synced. + export SOURCE_DATE_EPOCH=1607976314 + # not an autotools generated script local myconf=( $(use_enable seccomp scfilter) |