]> git.ipfire.org Git - thirdparty/lxc.git/commit
nicer date format and support for SOURCE_DATE_EPOCH in LXC_GENERATE_DATE
authorEvgeni Golov <evgeni@debian.org>
Tue, 12 Apr 2016 17:20:10 +0000 (19:20 +0200)
committerStéphane Graber <stgraber@ubuntu.com>
Thu, 17 Nov 2016 23:17:55 +0000 (18:17 -0500)
commit796873cffb52e7c005f121076116ee832d011f94
tree452391eb29f3857022352474eb8152c5bf4efe38
parent58325fd7c63ac8d20b3a4db476e933578ccb094d
nicer date format and support for SOURCE_DATE_EPOCH in LXC_GENERATE_DATE

Using $(date) for LXC_GENERATE_DATE has various flaws:
* formating depends on the locale of the system we execute configure on
* the output is not really a date but more a timestamp

Let's use $(date --utc '+%Y-%m-%d') instead.

While at it, also support SOURCE_DATE_EPOCH [1] to make the build
reproducible

[1] https://reproducible-builds.org/specs/source-date-epoch/

Signed-off-by: Evgeni Golov <evgeni@debian.org>
configure.ac