Skip to contentSkip to conversation

classes/reproducible_build: Create SDE destination

PATCH New Joshua Watt 1 participant 1 message Sep 27, 2019

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 classes/reproducible_build: Create SDE destination

Creates the source data epoch file destination directory when restoring from sstate

---
 meta/classes/reproducible_build.bbclass | 1 +
 1 file changed, 1 insertion(+)
meta/classes/reproducible_build.bbclass +1 -0
index 99b749a9ee2..39b6e40cacc 100644
@@ -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'))
Signature · 1 line
2.21.0