From: Richard Purdie Date: Fri, 14 Jan 2011 11:57:18 +0000 (+0000) Subject: image.bbclass: Use the dedicated BB_WORKERCONTEXT, not bitbake internals to detect... X-Git-Tag: 2011-1~2888 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=e427f251a457f3015c4b1cdf1648c53a9acc646d;p=openembedded-core.git image.bbclass: Use the dedicated BB_WORKERCONTEXT, not bitbake internals to detect context Signed-off-by: Richard Purdie --- diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 9fa0155c8a..8e8d92bdae 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -39,7 +39,7 @@ python () { # If we don't do this we try and run the mapping hooks while parsing which is slow # bitbake should really provide something to let us know this... - if bb.data.getVar('__RUNQUEUE_DO_NOT_USE_EXTERNALLY', d, True) is not None: + if bb.data.getVar('BB_WORKERCONTEXT', d, True) is not None: runtime_mapping_rename("PACKAGE_INSTALL", d) runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", d) }