[lxc-devel] [lxc/lxc] 8d256e: nicer date format and support for SOURCE_DATE_EPOC...

GitHub noreply at github.com
Tue Apr 12 19:38:02 UTC 2016


  Branch: refs/heads/master
  Home:   https://github.com/lxc/lxc
  Commit: 8d256e4de7a16c239bf0756a898662daa59ffb72
      https://github.com/lxc/lxc/commit/8d256e4de7a16c239bf0756a898662daa59ffb72
  Author: Evgeni Golov <evgeni at debian.org>
  Date:   2016-04-12 (Tue, 12 Apr 2016)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  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 at debian.org>


  Commit: c4828d7416753a3b9406d2592598157bcac01810
      https://github.com/lxc/lxc/commit/c4828d7416753a3b9406d2592598157bcac01810
  Author: Stéphane Graber <stgraber at stgraber.org>
  Date:   2016-04-12 (Tue, 12 Apr 2016)

  Changed paths:
    M configure.ac

  Log Message:
  -----------
  Merge pull request #966 from evgeni/SOURCE_DATE_EPOCH

nicer date format and support for SOURCE_DATE_EPOCH in LXC_GENERATE_DATE


Compare: https://github.com/lxc/lxc/compare/1f7c5761aa9c...c4828d741675


More information about the lxc-devel mailing list