From d3ae2fc896fd866aac9f064dccbff971c324f43c Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 25 Jul 2012 19:08:27 +0000 Subject: staging.bbclass: Add support for invalidtasks parameter (see bitbake change) Signed-off-by: Richard Purdie --- meta/classes/staging.bbclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'meta/classes') 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: -- cgit v1.2.3