Skip to content

Fix the build failure when creating a multilib wic

Kevin Hao openembedded-core 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4wic: bootimg-pcbios: Drop the unnecessary reference of STAGING_DATADIRscripts/lib/wic/plugins/source/bootimg-pcbios.py+3 -40 replies
2/4wic: isoimage-isohybrid: Drop the unnecessary reference of STAGING_DATADIRscripts/lib/wic/plugins/source/isoimage-isohybrid.py+4 -90 replies
3/4bitbake.conf: Introduce variables used to access the other recipe specific sysroot directory in multilib casemeta/conf/bitbake.conf meta/conf/multilib.conf+5 -01 reply
4/4wic: Set the right bootimg_dir when building a multilib imagemeta/classes/image_types_wic.bbclass scripts/wic+2 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Fix the build failure when creating a multilib wic

We have observed the following build failure when building lib32-core-image-minimal for a qemux86-64 machine.
DEBUG: | ERROR: Couldn't find correct bootimg_dir, exiting
| ERROR: Couldn't find correct bootimg_dir, exiting
DEBUG: |

This patch series tries to fix this issue. You can use the following steps to reproduce this issue:
1. source .../git/poky/oe-init-build-env and set the MACHINE to
"qemux86-64"

2. Add the following to conf/local.conf:
IMAGE_FSTYPES = "wic"

MULTILIBS = "multilib:lib32"
require conf/multilib.conf
DEFAULTTUNE_virtclass-multilib-lib32 = "x86"

3. bitbake lib32-core-image-minimal

Kevin Hao (4):
wic: bootimg-pcbios: Drop the unnecessary reference of STAGING_DATADIR
wic: isoimage-isohybrid: Drop the unnecessary reference of
STAGING_DATADIR
bitbake.conf: Introduce variables used to access the other recipe
specific sysroot directory in multilib case
wic: Set the right bootimg_dir when building a multilib image

 meta/classes/image_types_wic.bbclass                 |  2 +-
 meta/conf/bitbake.conf                               |  4 ++++
 meta/conf/multilib.conf                              |  1 +
 scripts/lib/wic/plugins/source/bootimg-pcbios.py     |  7 +++----
 scripts/lib/wic/plugins/source/isoimage-isohybrid.py | 13 ++++---------
 scripts/wic                                          |  2 +-
 6 files changed, 14 insertions(+), 15 deletions(-)
Signature · 1 line
2.14.4