diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-25 19:08:27 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2012-07-26 14:56:20 +0100 |
commit | f3d5e08e654cc116947560ad981f2521be0d9eb5 (patch) | |
tree | 138f1aa00b440d728b868fdb8d46c8171d8faa27 | |
parent | 8067a78f3ef9600db452349411d52baf42b6e6da (diff) | |
download | poky-f3d5e08e654cc116947560ad981f2521be0d9eb5.tar.gz |
staging.bbclass: Add support for invalidtasks parameter (see bitbake change)
(From OE-Core rev: d3ae2fc896fd866aac9f064dccbff971c324f43c)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r-- | meta/classes/staging.bbclass | 6 |
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" | |||
78 | 78 | ||
79 | BB_SETSCENE_VERIFY_FUNCTION = "sysroot_checkhashes" | 79 | BB_SETSCENE_VERIFY_FUNCTION = "sysroot_checkhashes" |
80 | 80 | ||
81 | def sysroot_checkhashes(covered, tasknames, fnids, fns, d): | 81 | def sysroot_checkhashes(covered, tasknames, fnids, fns, d, invalidtasks = None): |
82 | problems = set() | 82 | problems = set() |
83 | configurefnids = set() | 83 | configurefnids = set() |
84 | for task in xrange(len(tasknames)): | 84 | if not invalidtasks: |
85 | invalidtasks = xrange(len(tasknames)) | ||
86 | for task in invalidtasks: | ||
85 | if tasknames[task] == "do_configure" and task not in covered: | 87 | if tasknames[task] == "do_configure" and task not in covered: |
86 | configurefnids.add(fnids[task]) | 88 | configurefnids.add(fnids[task]) |
87 | for task in covered: | 89 | for task in covered: |