Patchwork [1/2] classes/staging: ensure do_populate_sysroot re-execs on changes to sysroot preprocessing funcs

login
register
mail settings
Submitter Paul Eggleton
Date March 24, 2014, 3:18 p.m.
Message ID <0175877e4e58d7d7e82c38c1a798aa352e19ef32.1395674266.git.paul.eggleton@linux.intel.com>
Download mbox | patch
Permalink /patch/69065/
State New
Headers show

Comments

Paul Eggleton - March 24, 2014, 3:18 p.m.
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@linux.intel.com>
---
 meta/classes/staging.bbclass | 2 ++
 1 file changed, 2 insertions(+)

Patch

diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass
index d17a53e..644b9a8 100644
--- a/meta/classes/staging.bbclass
+++ b/meta/classes/staging.bbclass
@@ -95,6 +95,8 @@  python do_populate_sysroot () {
         bb.build.exec_func(f, d)
 }
 
+do_populate_sysroot[vardeps] += "${SYSROOT_PREPROCESS_FUNCS}"
+
 SSTATETASKS += "do_populate_sysroot"
 do_populate_sysroot[cleandirs] = "${SYSROOT_DESTDIR}"
 do_populate_sysroot[sstate-inputdirs] = "${SYSROOT_DESTDIR}"