[oe-commits] [openembedded-core] 04/04: archiver: Ensure sstate-inputdir directory is created

git at git.openembedded.org git at git.openembedded.org
Tue Apr 12 21:51:20 UTC 2016


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

commit b3afe7d9bd25a943e947de3ec064ea245173c5a8
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Tue Apr 12 15:44:08 2016 +0100

    archiver: Ensure sstate-inputdir directory is created
    
    Without this, do_archive_sources will fail for the gcc tasks where there is
    common source and the other tasks are not added as dependencies. The failure
    happens when trying to restore these tasks from sstate.
    
    To fix this ensure the sources directory is created as expected by the
    sstate code.
    
    [YOCTO #9433]
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/archiver.bbclass | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 89a24d9..cea5b3b 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -368,6 +368,7 @@ do_deploy_archives () {
 python do_deploy_archives_setscene () {
     sstate_setscene(d)
 }
+do_deploy_archives[dirs] = "${ARCHIVER_TOPDIR}"
 do_deploy_archives[sstate-inputdirs] = "${ARCHIVER_TOPDIR}"
 do_deploy_archives[sstate-outputdirs] = "${DEPLOY_DIR_SRC}"
 addtask do_deploy_archives_setscene

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


More information about the Openembedded-commits mailing list