mirror of
https://git.yoctoproject.org/poky
synced 2026-05-08 05:09:24 +00:00
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>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user