mirror of
git://git.yoctoproject.org/poky.git
synced 2025-07-19 12:59:02 +02:00
image.bbclass: Use the dedicated BB_WORKERCONTEXT, not bitbake internals to detect context
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
ce4f835679
commit
12a3d41a24
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user