On Wed, Nov 20, 2024 at 8:30 PM wangmy via lists.openembedded.org <[email protected]> wrote: > > From: Wang Mingyu <[email protected]> > > 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. >
what non-empty packages are built by this recipe. I would rather expect them to be included in image install > Signed-off-by: Wang Mingyu <[email protected]> > --- > 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 (#113951): https://lists.openembedded.org/g/openembedded-devel/message/113951 Mute This Topic: https://lists.openembedded.org/mt/109698797/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
