]> code.ossystems Code Review - openembedded-core.git/commitdiff
staging: Drop BB_SETSCENE_VERIFY_FUNCTION2
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2017 11:56:44 +0000 (11:56 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 23 Mar 2017 22:28:56 +0000 (22:28 +0000)
The original description for this was:
"""
Since we clean out do_populate_sysroot if do_configure runs, don't
allow do_populate_sysroot_setscene functions if we're going to
run do_configure.
"""

With RSS, we don't need to clean do_populate_sysroot any more. Since
we no longer do that, this function also has no purpose any longer
and can also be removed.

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

index 93d39c33358b4aa7e00ebd4c184a35cc3169bd02..f7a17079331021c2bc07d3fec895cb6df8f967f2 100644 (file)
@@ -173,19 +173,6 @@ addtask populate_sysroot after do_install
 SYSROOT_PREPROCESS_FUNCS ?= ""
 SYSROOT_DESTDIR = "${WORKDIR}/sysroot-destdir"
 
-BB_SETSCENE_VERIFY_FUNCTION2 = "sysroot_checkhashes2"
-
-def sysroot_checkhashes2(covered, tasknames, fns, d, invalidtasks):
-    problems = set()
-    configurefns = set()
-    for tid in invalidtasks:
-        if tasknames[tid] == "do_configure" and tid not in covered:
-            configurefns.add(fns[tid])
-    for tid in covered:
-        if tasknames[tid] == "do_populate_sysroot" and fns[tid] in configurefns:
-            problems.add(tid)
-    return problems
-
 python do_populate_sysroot () {
     bb.build.exec_func("sysroot_stage_all", d)
     bb.build.exec_func("sysroot_strip", d)