]> code.ossystems Code Review - openembedded-core.git/commit
classes/reproducible_build: Read SDE file later
authorJoshua Watt <jpewhacker@gmail.com>
Fri, 31 Jan 2020 19:04:16 +0000 (13:04 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 11 Feb 2020 23:04:29 +0000 (23:04 +0000)
commit81d3832728aeae0e02e775bab9fc13e159fb61d3
tree4f8960da8bba7d5d36d6ac8df926c596136392ea
parent38359c79dc6e02a21d1bc26756c8bd88da762ef8
classes/reproducible_build: Read SDE file later

Defers the resolution of the SOURCE_DATE_EPOCH until the variable needs
to be actually realized with a value. The previous method of loading the
value in anonymous python had issues because it could occur before other
anonymous python functions that affect the location of the epoch file,
such as when a recipe uses AUTOINC/AUTOREV or allarch.bbclass.

Also adds more logging to help diagnose issues in the future.

[YOCTO #13763]

(From OE-Core rev: b3313a10a3eb93f0a3710a35de0404fb49cd6202)

(From OE-Core rev: 10515e5f7e38edbc4430e2599062a9ce6fdb42a8)

Signed-off-by: Joshua Watt <JPEWhacker@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
meta/classes/reproducible_build.bbclass