]> code.ossystems Code Review - openembedded-core.git/commitdiff
image.bbclass: Use the dedicated BB_WORKERCONTEXT, not bitbake internals to detect...
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Jan 2011 11:57:18 +0000 (11:57 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 14 Jan 2011 11:57:48 +0000 (11:57 +0000)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/image.bbclass

index 9fa0155c8a1a5e09ed508db0d32cbcfd1e77cff5..8e8d92bdae2505bdbdf84ad88e32818579670f65 100644 (file)
@@ -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)
 }