From: Wang Mingyu <wan...@fujitsu.com> In the case where cmpi-bindings included into an image, and if no layers is providing the machine configuration, the build fails with the following error: Problem: conflicting requests - nothing provides lib32-cmpi-bindings
This error is because no package was created for cmpi-bindings since the recipe does not install any files. This commit allows the creation of an empty package in order to avoid the do_rootfs failure when this package is included into an image. Signed-off-by: Wang Mingyu <wan...@fujitsu.com> --- meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb index 5bfa31112..21e6a6ab5 100644 --- a/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb +++ b/meta-oe/recipes-extended/cmpi-bindings/cmpi-bindings_1.0.4.bb @@ -18,6 +18,8 @@ S = "${WORKDIR}/git" inherit cmake python3targetconfig +ALLOW_EMPTY:${PN} = "1" + EXTRA_OECMAKE = "-DLIB='${baselib}' \ -DPYTHON_INCLUDE_PATH=${STAGING_INCDIR}/python${PYTHON_BASEVERSION} \ -DPYTHON_ABI=${PYTHON_ABI} \ -- 2.34.1
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#113950): https://lists.openembedded.org/g/openembedded-devel/message/113950 Mute This Topic: https://lists.openembedded.org/mt/109698797/21656 Group Owner: openembedded-devel+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-