]> git.ipfire.org Git - thirdparty/lxc.git/commit
nicer date format and support for SOURCE_DATE_EPOCH in LXC_GENERATE_DATE 966/head
authorEvgeni Golov <evgeni@debian.org>
Tue, 12 Apr 2016 17:20:10 +0000 (19:20 +0200)
committerEvgeni Golov <evgeni@debian.org>
Tue, 12 Apr 2016 17:20:10 +0000 (19:20 +0200)
commit8d256e4de7a16c239bf0756a898662daa59ffb72
tree932f050801361aaa8aad265ae07a573e708c9f99
parent1f7c5761aa9c5fb2d2c60559e92ac01cfe34704e
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