[oe-commits] Paul Eggleton : classes/staging: ensure do_populate_sysroot re-execs on changes to sysroot preprocessing funcs
git at git.openembedded.org
git at git.openembedded.org
Tue Mar 25 09:47:56 UTC 2014
Module: openembedded-core.git
Branch: master
Commit: 9950a88906bd701d0892b3ed222717ff78a93921
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=9950a88906bd701d0892b3ed222717ff78a93921
Author: Paul Eggleton <paul.eggleton at linux.intel.com>
Date: Mon Mar 24 15:18:51 2014 +0000
classes/staging: ensure do_populate_sysroot re-execs on changes to sysroot preprocessing funcs
Without this dependency, changes to functions added to
SYSROOT_PREPROCESS_FUNCS do not change do_populate_sysroot's signature
and thus don't cause it to re-execute.
Fixes [YOCTO #5852].
Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
meta/classes/staging.bbclass | 2 ++
1 file changed, 2 insertions(+)
diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index c74cb99..7c43e76 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -105,6 +105,8 @@ python do_populate_sysroot () {
f.write(pn)
}
+do_populate_sysroot[vardeps] += "${SYSROOT_PREPROCESS_FUNCS}"
+
SSTATETASKS += "do_populate_sysroot"
do_populate_sysroot[cleandirs] = "${SYSROOT_DESTDIR}"
do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}"
More information about the Openembedded-commits
mailing list