summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-28 16:34:00 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-29 18:14:57 +0000
commit654f0eec426e882e50f688f6d097d992e34e5b40 (patch)
tree167dfe1c1f823b5ace0b50d2590192444f77d8e0
parent2912e2594c7574a9e695d9ba1c302ef941f6f9f8 (diff)
downloadopenembedded-core-contrib-654f0eec426e882e50f688f6d097d992e34e5b40.tar.gz
openembedded-core-contrib-654f0eec426e882e50f688f6d097d992e34e5b40.tar.bz2
openembedded-core-contrib-654f0eec426e882e50f688f6d097d992e34e5b40.zip
sstate: Add back packagedata on packagedata dependencies
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Ross Burton <ross.burton@intel.com>
-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 ec72c5506d..6c3e82877b 100644
--- a/meta/classes/sstate.bbclass
+++ b/meta/classes/sstate.bbclass
@@ -855,7 +855,11 @@ def setscene_depvalid(task, taskdependees, notneeded, d):
return True
# We only need to trigger packagedata through direct dependencies
+ # but need to preserve packagedata on packagedata links
if taskdependees[task][1] == "do_packagedata":
+ for dep in taskdependees:
+ if taskdependees[dep][1] == "do_packagedata":
+ return False
return True
for dep in taskdependees: