[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-kbuild
Subject:    Re: [PATCH] kbuild: Add support for SOURCE_DATE_EPOCH environment variable
From:       Ben Hutchings <ben () decadent ! org ! uk>
Date:       2015-10-27 0:49:08
Message-ID: 1445906948.2395.82.camel () decadent ! org ! uk
[Download RAW message or body]

On Mon, 2015-10-26 at 22:03 +0100, Michal Marek wrote:
> Dne 2.10.2015 v 01:15 Ben Hutchings napsal(a):
> > As part of the reproducible builds project, the SOURCE_DATE_EPOCH
> > environment variable has been specified as a project- and
> > distribution-independent means to specify a timestamp at build
> > time: https://reproducible-builds.org/specs/source-date-epoch/
> > 
> > Add support for this by converting it to KBUILD_BUILD_TIMESTAMP
> > if they aren't both set.
> 
> At which projects besides the kernel is this aimed? If there are
> multiple projects willing to support this, I'll happily apply it. But if
> it's just a synonym for KBUILD_BUILD_TIMESTAMP that nobody else is going
> to support, then it looks a bit redundant.

It's aimed at all build tools.  For examples, see:

https://codesearch.debian.net/results/%5C%24SOURCE_DATE_EPOCH%20-path%3Adebian%2F/page_0
 https://codesearch.debian.net/results/getenv%5C%28%22SOURCE_DATE_EPOCH%22%5C%29%20-path%3Adebian%2F/page_0


Ben.

-- 
Ben Hutchings
Never attribute to conspiracy what can adequately be explained by stupidity.


["signature.asc" (application/pgp-signature)]
--
To unsubscribe from this list: send the line "unsubscribe linux-kbuild" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic