From: Peter Korsgaard Date: Sun, 05 Nov 2017 11:45:36 +0100 Subject: [Buildroot] [PATCH] core/reproducible: do not override SOURCE_DATE_EPOCH In-Reply-To: <20171105091456.5277-1-yann.morin.1998@free.fr> (Yann E. MORIN's message of "Sun, 5 Nov 2017 10:14:56 +0100") References: <20171105091456.5277-1-yann.morin.1998@free.fr> Message-ID: <87h8u92ecv.fsf@dell.be.48ers.dk> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: buildroot@busybox.net >>>>> "Yann" == Yann E MORIN writes: > SOURCE_DATE_EPOCH is currently forcibly set (to either the git commit > date, or the last release date). > However, the spec mandates that it should not be modified if already > set: https://reproducible-builds.org/specs/source-date-epoch/ > Build systems MUST NOT overwrite this variable for child > processes to consume if it is already present. > Abide by the rule, and only set it if not already set. > This will allow users to pass it from an upper-layer buildsystem (e.g. a > jenkins or gitlab-ci job, for example), when they have a reson to do so. > Reported-by: Peter Korsgaard > Reported-by: Einar J?n Gunnarsson > Signed-off-by: "Yann E. MORIN" > Cc: Peter Korsgaard > Cc: Einar J?n Gunnarsson > Cc: Thomas Petazzoni > Cc: Arnout Vandecappelle Committed, thanks. -- Bye, Peter Korsgaard