[gnome-continuous-yocto/gnomeostree-3.28-rocko: 5295/8267] staging: Drop BB_SETSCENE_VERIFY_FUNCTION2



commit 3d3194a68fceba3fcc6b072ae9956870a8b5c4fd
Author: Richard Purdie <richard purdie linuxfoundation org>
Date:   Thu Mar 23 11:56:44 2017 +0000

    staging: Drop BB_SETSCENE_VERIFY_FUNCTION2
    
    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.
    
    (From OE-Core rev: 637c6d17b4a812379cbab64d340660092e046965)
    
    Signed-off-by: Richard Purdie <richard purdie linuxfoundation org>

 meta/classes/staging.bbclass |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)
---
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 93d39c3..f7a1707 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -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)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]