diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-14 11:57:18 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-14 11:57:48 +0000 |
commit | e427f251a457f3015c4b1cdf1648c53a9acc646d (patch) | |
tree | 643881bd02ea96353fea0cf0227bff472a6cd1f4 | |
parent | aa45f90162e1c95ecf0940bea148426488457c50 (diff) | |
download | poky-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>
-rw-r--r-- | meta/classes/image.bbclass | 2 |
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 () { | |||
39 | 39 | ||
40 | # If we don't do this we try and run the mapping hooks while parsing which is slow | 40 | # If we don't do this we try and run the mapping hooks while parsing which is slow |
41 | # bitbake should really provide something to let us know this... | 41 | # bitbake should really provide something to let us know this... |
42 | if bb.data.getVar('__RUNQUEUE_DO_NOT_USE_EXTERNALLY', d, True) is not None: | 42 | if bb.data.getVar('BB_WORKERCONTEXT', d, True) is not None: |
43 | runtime_mapping_rename("PACKAGE_INSTALL", d) | 43 | runtime_mapping_rename("PACKAGE_INSTALL", d) |
44 | runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", d) | 44 | runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", d) |
45 | } | 45 | } |