All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] archiver: Ensure sstate-inputdir directory is created
@ 2016-04-12 14:44 Richard Purdie
  0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-04-12 14:44 UTC (permalink / raw)
  To: openembedded-core

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>

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




^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2016-04-12 14:44 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-12 14:44 [PATCH] archiver: Ensure sstate-inputdir directory is created Richard Purdie

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.