[OE-core] [PATCH 2/5] staging: Drop do_configure clean prefunc
Richard Purdie
richard.purdie at linuxfoundation.org
Thu Mar 23 17:11:04 UTC 2017
With recipe specific sysroots its now pointless to do this, may as well
save the cpu cycles.
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/staging.bbclass | 8 --------
1 file changed, 8 deletions(-)
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index df77408..93d39c3 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -173,14 +173,6 @@ addtask populate_sysroot after do_install
SYSROOT_PREPROCESS_FUNCS ?= ""
SYSROOT_DESTDIR = "${WORKDIR}/sysroot-destdir"
-# We clean out any existing sstate from the sysroot if we rerun configure
-python sysroot_cleansstate () {
- ss = sstate_state_fromvars(d, "populate_sysroot")
- sstate_clean(ss, d)
-}
-do_configure[prefuncs] += "sysroot_cleansstate"
-
-
BB_SETSCENE_VERIFY_FUNCTION2 = "sysroot_checkhashes2"
def sysroot_checkhashes2(covered, tasknames, fns, d, invalidtasks):
--
2.7.4
More information about the Openembedded-core
mailing list