[oe-commits] [openembedded-core] 02/03: classes/reproducible_build: Create SDE destination

git at git.openembedded.org git at git.openembedded.org
Wed Oct 2 13:06:42 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit d4e7818017eb55f24cbce7ec270c302f2764c846
Author: Joshua Watt <JPEWhacker at gmail.com>
AuthorDate: Fri Sep 27 13:45:26 2019 -0500

    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 at linuxfoundation.org>
---
 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 99b749a..39b6e40 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'))

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list