From: Paul Eggleton Date: Mon, 24 Mar 2014 15:18:51 +0000 (+0000) Subject: classes/staging: ensure do_populate_sysroot re-execs on changes to sysroot preprocess... X-Git-Tag: 2015-4~3258 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=9950a88906bd701d0892b3ed222717ff78a93921;p=openembedded-core.git 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 Signed-off-by: Richard Purdie --- diff --git a/meta/classes/staging.bbclass b/meta/classes/staging.bbclass index c74cb99dfa..7c43e7618d 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}"