summaryrefslogtreecommitdiffstats
path: root/meta/classes/archiver.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-12 15:44:08 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-04-12 22:50:21 +0100
commit380004b8551d1992eec244928c524252c47f7970 (patch)
treeef9fbc637b649616eb76f15c6f989a52bb534ff9 /meta/classes/archiver.bbclass
parent3ad70a599f78f645dc212ef7f5fa49ccce3ef1f7 (diff)
downloadpoky-380004b8551d1992eec244928c524252c47f7970.tar.gz
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] (From OE-Core rev: b3afe7d9bd25a943e947de3ec064ea245173c5a8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/archiver.bbclass')
-rw-r--r--meta/classes/archiver.bbclass1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/classes/archiver.bbclass b/meta/classes/archiver.bbclass
index 89a24d97b4..cea5b3bcb5 100644
--- a/meta/classes/archiver.bbclass
+++ b/meta/classes/archiver.bbclass
@@ -368,6 +368,7 @@ do_deploy_archives () {
368python do_deploy_archives_setscene () { 368python do_deploy_archives_setscene () {
369 sstate_setscene(d) 369 sstate_setscene(d)
370} 370}
371do_deploy_archives[dirs] = "${ARCHIVER_TOPDIR}"
371do_deploy_archives[sstate-inputdirs] = "${ARCHIVER_TOPDIR}" 372do_deploy_archives[sstate-inputdirs] = "${ARCHIVER_TOPDIR}"
372do_deploy_archives[sstate-outputdirs] = "${DEPLOY_DIR_SRC}" 373do_deploy_archives[sstate-outputdirs] = "${DEPLOY_DIR_SRC}"
373addtask do_deploy_archives_setscene 374addtask do_deploy_archives_setscene