summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-14 11:57:18 +0000
committerJoshua Lock <josh@linux.intel.com>2011-01-14 12:08:45 +0000
commit12a3d41a24db79ae6c0491defffcf4f4753001cf (patch)
tree6026316a4a545139177159300e416e0a2f20d4e9
parentce4f8356796bc797d9156ed252a4ed638a2150d5 (diff)
downloadpoky-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>
-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 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}