summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes')
-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 () {
53 53
54python do_deploy_source_date_epoch_setscene () { 54python do_deploy_source_date_epoch_setscene () {
55 sstate_setscene(d) 55 sstate_setscene(d)
56 bb.utils.mkdirhier(d.getVar('SDE_DIR'))
56 sde_file = os.path.join(d.getVar('SDE_DEPLOYDIR'), '__source_date_epoch.txt') 57 sde_file = os.path.join(d.getVar('SDE_DEPLOYDIR'), '__source_date_epoch.txt')
57 if os.path.exists(sde_file): 58 if os.path.exists(sde_file):
58 os.rename(sde_file, d.getVar('SDE_FILE')) 59 os.rename(sde_file, d.getVar('SDE_FILE'))