* [PATCH] sstate: Add packagedata to list of tasks not to recurse
@ 2016-01-18 17:57 Richard Purdie
0 siblings, 0 replies; only message in thread
From: Richard Purdie @ 2016-01-18 17:57 UTC (permalink / raw)
To: openembedded-core; +Cc: Eggleton, Paul
If we "bitbake X -c packagedata" and the packagedata comes from sstate, we
don't need any of the tasks dependencies. This is similar to the
populate_lic case, we only care about the end result.
Therefore short circuit the dependencies so packagedata doesn't pull in
any other dependencies.
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index d9adf01..7d65f4a 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -854,6 +854,10 @@ def setscene_depvalid(task, taskdependees, notneeded, d):
if taskdependees[task][1] == "do_populate_lic":
return True
+ # We only need to trigger packagedata through direct dependencies
+ if taskdependees[task][1] == "do_packagedata":
+ return True
+
for dep in taskdependees:
bb.debug(2, " considering dependency: %s" % (str(taskdependees[dep])))
if task == dep:
--
cgit v0.10.2
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-18 17:57 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-01-18 17:57 [PATCH] sstate: Add packagedata to list of tasks not to recurse 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.