summaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-14 11:57:18 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-14 11:57:48 +0000
commite427f251a457f3015c4b1cdf1648c53a9acc646d (patch)
tree643881bd02ea96353fea0cf0227bff472a6cd1f4 /meta/classes/image.bbclass
parentaa45f90162e1c95ecf0940bea148426488457c50 (diff)
downloadopenembedded-core-e427f251a457f3015c4b1cdf1648c53a9acc646d.tar.gz
image.bbclass: Use the dedicated BB_WORKERCONTEXT, not bitbake internals to detect context
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass2
1 files changed, 1 insertions, 1 deletions
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)
}