From: Joshua Watt Date: Fri, 27 Sep 2019 18:45:26 +0000 (-0500) Subject: classes/reproducible_build: Create SDE destination X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~13121 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f5259a62d444dfc221a9ba592dbca35564f794ac;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git classes/reproducible_build: Create SDE destination Creates the source data epoch file destination directory when restoring from sstate Signed-off-by: Richard Purdie --- 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'))