[oe-commits] [openembedded-core] 02/02: staging: Drop clean_recipe_sysroot

git at git.openembedded.org git at git.openembedded.org
Thu Jul 18 12:35:38 UTC 2019


This is an automated email from the git hooks/post-receive script.

rpurdie pushed a commit to branch master-next
in repository openembedded-core.

commit ac85bab5955e676f82612e97716f42cf1ae34ab6
Author: Richard Purdie <richard.purdie at linuxfoundation.org>
AuthorDate: Thu Jul 18 12:46:12 2019 +0100

    staging: Drop clean_recipe_sysroot
    
    With recent changes to runqueue, this fuction is unsafe as setscene tasks can run
    at the same time as normal ones and doing things before do_fetch no longer
    offers any guarantees.
    
    There is other code which cleans out things from the sysroots as tasks rerun so
    we should rely upon that instead.
    
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/staging.bbclass | 11 -----------
 1 file changed, 11 deletions(-)

diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index 94c8524..cdc342d 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -577,17 +577,6 @@ python do_prepare_recipe_sysroot () {
 }
 addtask do_prepare_recipe_sysroot before do_configure after do_fetch
 
-# Clean out the recipe specific sysroots before do_fetch
-# (use a prefunc so we can order before extend_recipe_sysroot if it gets added)
-python clean_recipe_sysroot() {
-    # We remove these stamps since we're removing any content they'd have added with
-    # cleandirs. This removes the sigdata too, likely not a big deal,
-    oe.path.remove(d.getVar("STAMP") + "*addto_recipe_sysroot*")
-    return
-}
-clean_recipe_sysroot[cleandirs] += "${RECIPE_SYSROOT} ${RECIPE_SYSROOT_NATIVE}"
-do_fetch[prefuncs] += "clean_recipe_sysroot"
-
 python staging_taskhandler() {
     bbtasks = e.tasklist
     for task in bbtasks:

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list