From e427f251a457f3015c4b1cdf1648c53a9acc646d Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 14 Jan 2011 11:57:18 +0000 Subject: image.bbclass: Use the dedicated BB_WORKERCONTEXT, not bitbake internals to detect context Signed-off-by: Richard Purdie --- meta/classes/image.bbclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 9fa0155c8..8e8d92bda 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) } -- cgit v1.2.3