summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJoshua Watt <JPEWhacker@gmail.com>2019-09-27 13:45:26 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-10-02 14:41:22 +0100
commitf5259a62d444dfc221a9ba592dbca35564f794ac (patch)
tree0d62dc590d72a2d15f31f50a707e2f7e76af42c0
parent93ed352467a9e2121b0cd4b50989d91f14a16145 (diff)
downloadopenembedded-core-contrib-f5259a62d444dfc221a9ba592dbca35564f794ac.tar.gz
openembedded-core-contrib-f5259a62d444dfc221a9ba592dbca35564f794ac.tar.bz2
openembedded-core-contrib-f5259a62d444dfc221a9ba592dbca35564f794ac.zip
classes/reproducible_build: Create SDE destination
Creates the source data epoch file destination directory when restoring from sstate Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/reproducible_build.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/reproducible_build.bbclass b/meta/classes/reproducible_build.bbclass
index 99b749a9ee..39b6e40cac 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'))