diff options
| author | Tom Rini <trini@konsulko.com> | 2017-09-29 10:28:19 -0400 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2017-10-07 23:20:40 +0100 |
| commit | d4adc029891aeda4b9f132e1d674afc25a0ee4b0 (patch) | |
| tree | b4228196e0689e9e255d8fe55ce5bf780706cc7b | |
| parent | 16f1a14f83353b809650ce5fe50b35e38b6c6d7e (diff) | |
| download | poky-d4adc029891aeda4b9f132e1d674afc25a0ee4b0.tar.gz | |
image_types: Fix bmaptool support for RSS
With RSS we need to ensure that when making a bmap image that the
python3 that we created is found via /usr/bin/env rather than the host
python3. Otherwise we're relying on the build host to have bmaptool
support installed.
(From OE-Core rev: a93c5869cb716cba5e05bbe4fc2e1c11adb9e30f)
Signed-off-by: Tom Rini <trini@konsulko.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -rw-r--r-- | meta/classes/image_types.bbclass | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/meta/classes/image_types.bbclass b/meta/classes/image_types.bbclass index 61dca62631..b373b21714 100644 --- a/meta/classes/image_types.bbclass +++ b/meta/classes/image_types.bbclass | |||
| @@ -311,3 +311,6 @@ DEPLOYABLE_IMAGE_TYPES ?= "hddimg iso" | |||
| 311 | # The IMAGE_TYPES_MASKED variable will be used to mask out from the IMAGE_FSTYPES, | 311 | # The IMAGE_TYPES_MASKED variable will be used to mask out from the IMAGE_FSTYPES, |
| 312 | # images that will not be built at do_rootfs time: vmdk, vdi, qcow2, hdddirect, hddimg, iso, etc. | 312 | # images that will not be built at do_rootfs time: vmdk, vdi, qcow2, hdddirect, hddimg, iso, etc. |
| 313 | IMAGE_TYPES_MASKED ?= "" | 313 | IMAGE_TYPES_MASKED ?= "" |
| 314 | |||
| 315 | # bmap requires python3 to be in the PATH | ||
| 316 | EXTRANATIVEPATH += "${@'python3-native' if d.getVar('IMAGE_FSTYPES').find('.bmap') else ''}" | ||
