summaryrefslogtreecommitdiffstats
path: root/meta/classes
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-18 17:57:01 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-19 17:24:53 +0000
commit9e867efdc87ced0e2743a3c134f30d2637795654 (patch)
tree8e232f3710d97f78f3ccd42e4607eec4250af41c /meta/classes
parent5e881c185c06b5c48e09539e2684c2f3750109eb (diff)
downloadpoky-9e867efdc87ced0e2743a3c134f30d2637795654.tar.gz
sstate: Add packagedata to list of tasks not to recurse
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. (From OE-Core rev: 76aa4f49db7d32bbd35703c64470fdfc63f403a4) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes')
-rw-r--r--meta/classes/sstate.bbclass4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/classes/sstate.bbclass b/meta/classes/sstate.bbclass
index 9bef212521..804629199f 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -854,6 +854,10 @@ def setscene_depvalid(task, taskdependees, notneeded, d):
854 if taskdependees[task][1] == "do_populate_lic": 854 if taskdependees[task][1] == "do_populate_lic":
855 return True 855 return True
856 856
857 # We only need to trigger packagedata through direct dependencies
858 if taskdependees[task][1] == "do_packagedata":
859 return True
860
857 for dep in taskdependees: 861 for dep in taskdependees:
858 bb.debug(2, " considering dependency: %s" % (str(taskdependees[dep]))) 862 bb.debug(2, " considering dependency: %s" % (str(taskdependees[dep])))
859 if task == dep: 863 if task == dep: