mirror of
git://git.yoctoproject.org/poky
synced 2026-09-26 20:58:58 +00:00
image.bbclass: Don't perform mapping renaming until we're running the task itself.
Need to extend bitbake to provide this information rather than refer to a bitbake internal variable. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
parent
968d00de15
commit
4e0ee648b4
@ -34,8 +34,11 @@ python () {
|
|||||||
deps += " %s:do_populate_sysroot" % dep
|
deps += " %s:do_populate_sysroot" % dep
|
||||||
bb.data.setVarFlag('do_rootfs', 'depends', deps, d)
|
bb.data.setVarFlag('do_rootfs', 'depends', deps, d)
|
||||||
|
|
||||||
runtime_mapping_rename("PACKAGE_INSTALL", d)
|
# If we don't do this we try and run the mapping hooks while parsing which is slow
|
||||||
runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", d)
|
# bitbake should really provide something to let us know this...
|
||||||
|
if bb.data.getVar('__RUNQUEUE_DO_NOT_USE_EXTERNALLY', d, True) is not None:
|
||||||
|
runtime_mapping_rename("PACKAGE_INSTALL", d)
|
||||||
|
runtime_mapping_rename("PACKAGE_INSTALL_ATTEMPTONLY", d)
|
||||||
}
|
}
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user