]> 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)
committerAnuj Mittal <anuj.mittal@intel.com>
Wed, 20 Oct 2021 14:54:01 +0000 (22:54 +0800)
commitbc8448b55f06c75ec129fc32cee75ef945a49d3e
tree3dfc21e73d6cdfc8664f9293a0cc17498b738e05
parent56f1fc08242a07967249fff9f537ea5d3cd0da56
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>
(cherry picked from commit 0b7dd711a54e92ce54abe99f59fc67e683d52dfe)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/classes/externalsrc.bbclass