]> code.ossystems Code Review - openembedded-core.git/commitdiff
archiver: Ensure sstate-inputdir directory is created
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Apr 2016 14:44:08 +0000 (15:44 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Tue, 12 Apr 2016 21:46:48 +0000 (22:46 +0100)
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@linuxfoundation.org>
meta/classes/archiver.bbclass

index 89a24d97b46a0fc5dabf4173d3055fba1519e6ee..cea5b3bcb5f35798e5f9a8a3bd8a46506b40e287 100644 (file)
@@ -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