]> code.ossystems Code Review - openembedded-core.git/commit
target-sdk-provides-dummy: extend packages for multilib case
authorChen Qi <Qi.Chen@windriver.com>
Fri, 16 Aug 2019 02:06:03 +0000 (10:06 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 16 Aug 2019 16:11:51 +0000 (17:11 +0100)
commit6a38c6aafc2956bb6f7824eff4ac0f630f02da75
tree5d79e828dfca95735efbf1f7632bff410b328305
parent76caa7aece5cc8513989f77bb15944a22d17edf5
target-sdk-provides-dummy: extend packages for multilib case

If we have installed some lib32 package which depends on perl/bash,
then populating sdk for that image would fail with the following error.

  Error:
  Problem: package lib32-libxml-namespacesupport-perl-1.12-r0.corei7_32 requires lib32-perl, but none of the providers can be installed

    package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with /usr/bin/perl provided by lib32-perl-5.30.0-r0.corei7_32
    package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with libperl.so.5 provided by lib32-perl-5.30.0-r0.corei7_32

This could be produced by the following steps:
1. IMAGE_INSTALL_append = " lib32-valgrind"
2. bitbake core-image-minimal -c populate_sdk

We need to extend all packages in DUMMYPROVIDES to avoid such problems.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-core/meta/target-sdk-provides-dummy.bb