]> code.ossystems Code Review - openembedded-core.git/commit
externalsrc: Work with reproducible_build
authorMark Hatle <mark.hatle@xilinx.com>
Fri, 10 Sep 2021 02:22:13 +0000 (21:22 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 11 Sep 2021 21:36:27 +0000 (22:36 +0100)
commit0b7dd711a54e92ce54abe99f59fc67e683d52dfe
tree98dff77ef3b77e5eb854cc1baa0160bb74941da9
parent1976013b026cfba94de32a13e994d92d7e9e39e5
externalsrc: Work with reproducible_build

Externalsrc removes do_fetch, do_unpack, and do_patch.  The system normally
discovers the correct reproducible date as a postfuncs of do_unpack, so this
date is never found, so it falls back to the default epoch.

Instead we can move the discovery function to a prefuncs on the epoch
deploy task.  This task will run before do_configure, and since the source
is already available can run safely at anytime.

Signed-off-by: Mark Hatle <mark.hatle@xilinx.com>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/externalsrc.bbclass