diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-01-14 11:57:18 +0000 |
---|---|---|
committer | Joshua Lock <josh@linux.intel.com> | 2011-01-14 12:08:45 +0000 |
commit | 12a3d41a24db79ae6c0491defffcf4f4753001cf (patch) | |
tree | 6026316a4a545139177159300e416e0a2f20d4e9 /meta/classes | |
parent | ce4f8356796bc797d9156ed252a4ed638a2150d5 (diff) | |
download | poky-12a3d41a24db79ae6c0491defffcf4f4753001cf.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')
-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 3db34ac193..70f2210366 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 | } |