Creates the source data epoch file destination directory when restoring from sstate
Signed-off-by: Joshua Watt <[email protected]> --- meta/classes/reproducible_build.bbclass | 1 + 1 file changed, 1 insertion(+) diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass index 99b749a9ee2..39b6e40cacc 100644 --- a/meta/classes/reproducible_build.bbclass +++ b/meta/classes/reproducible_build.bbclass @@ -53,6 +53,7 @@ do_deploy_source_date_epoch () { python do_deploy_source_date_epoch_setscene () { sstate_setscene(d) + bb.utils.mkdirhier(d.getVar('SDE_DIR')) sde_file = os.path.join(d.getVar('SDE_DEPLOYDIR'), '__source_date_epoch.txt') if os.path.exists(sde_file): os.rename(sde_file, d.getVar('SDE_FILE')) -- 2.21.0 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
