summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-25 19:08:27 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-07-26 14:55:34 +0100
commitd3ae2fc896fd866aac9f064dccbff971c324f43c (patch)
tree4f368a10446e5066edf58dd57a2e22adb9d81806
parent055f0392bb468eac669ae941613feb618bf26f20 (diff)
downloadopenembedded-core-d3ae2fc896fd866aac9f064dccbff971c324f43c.tar.gz
openembedded-core-d3ae2fc896fd866aac9f064dccbff971c324f43c.tar.bz2
openembedded-core-d3ae2fc896fd866aac9f064dccbff971c324f43c.zip
staging.bbclass: Add support for invalidtasks parameter (see bitbake change)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/staging.bbclass6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index cf160a76fd..eda415e480 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -78,10 +78,12 @@ do_configure[prefuncs] += "sysroot_cleansstate"
BB_SETSCENE_VERIFY_FUNCTION = "sysroot_checkhashes"
-def sysroot_checkhashes(covered, tasknames, fnids, fns, d):
+def sysroot_checkhashes(covered, tasknames, fnids, fns, d, invalidtasks = None):
problems = set()
configurefnids = set()
- for task in xrange(len(tasknames)):
+ if not invalidtasks:
+ invalidtasks = xrange(len(tasknames))
+ for task in invalidtasks:
if tasknames[task] == "do_configure" and task not in covered:
configurefnids.add(fnids[task])
for task in covered: