]> code.ossystems Code Review - openembedded-core.git/commitdiff
staging: Drop BB_SETSCENE_VERIFY_FUNCTION since it was replaced
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2017 11:53:02 +0000 (11:53 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2017 22:28:55 +0000 (22:28 +0000)
BB_SETSCENE_VERIFY_FUNCTION2 replaced BB_SETSCENE_VERIFY_FUNCTION
and due to our minimum bitbake requirements there is no point in
retaining the older version any more.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/staging.bbclass

index 075200909b543abc7d1d52937f0d7ca91f35819a..df77408f30ce64bf4a47e18c6122053c63539fcf 100644 (file)
@@ -194,21 +194,6 @@ def sysroot_checkhashes2(covered, tasknames, fns, d, invalidtasks):
             problems.add(tid)
     return problems
 
-BB_SETSCENE_VERIFY_FUNCTION = "sysroot_checkhashes"
-
-def sysroot_checkhashes(covered, tasknames, fnids, fns, d, invalidtasks = None):
-    problems = set()
-    configurefnids = set()
-    if not invalidtasks:
-        invalidtasks = range(len(tasknames))
-    for task in invalidtasks:
-        if tasknames[task] == "do_configure" and task not in covered:
-            configurefnids.add(fnids[task])
-    for task in covered:
-        if tasknames[task] == "do_populate_sysroot" and fnids[task] in configurefnids:
-            problems.add(task)
-    return problems
-
 python do_populate_sysroot () {
     bb.build.exec_func("sysroot_stage_all", d)
     bb.build.exec_func("sysroot_strip", d)