From 5b899e9c1ffda36423e431dd08902b9c44d733d5 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Wed, 25 Jul 2012 19:08:27 +0000 Subject: [PATCH] staging.bbclass: Add support for invalidtasks parameter (see bitbake change) (From OE-Core rev: d3ae2fc896fd866aac9f064dccbff971c324f43c) Signed-off-by: Richard Purdie --- meta/classes/staging.bbclass | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index cf160a7..eda415e 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: -- 2.7.4