]> code.ossystems Code Review - openembedded-core.git/commitdiff
target-sdk-provides-dummy: add libperl.so.5 to DUMMY_PROVIDES
authorChen Qi <Qi.Chen@windriver.com>
Wed, 19 Jun 2019 05:09:48 +0000 (13:09 +0800)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 19 Jun 2019 12:07:25 +0000 (13:07 +0100)
Add libperl.so.5 to DUMMY_PROVIDES to avoid do_rootfs failure like
below.

Error:
Problem: package postgresql-11.3-r0.core2_32 requires libperl.so.5, but none of the providers can be installed

    package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl provided by perl-5.30.0-r0.core2_32
    package target-sdk-provides-dummy-1.0-r0.sdk_provides_dummy_target conflicts with perl-module-strict provided by perl-5.30.0-r0.core2_32

This problem could be reproduced by add 'postgresql' to IMAGE_INSTALL
and then `bitbake core-image-minimal -c populate_sdk'.

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

index 50182decfbe351b7625880dfc9e6c3ce497a1bac..b5e8c0f0340016bc0c50f3747deccd1467f6a29b 100644 (file)
@@ -46,6 +46,7 @@ DUMMYPROVIDES = "\
     /bin/bash \
     /usr/bin/env \
     /usr/bin/perl \
+    libperl.so.5 \
     pkgconfig \
     pkgconfig-dev \
     pkgconfig-src \