spice-protocol: fix populate_sdk error when spice is installed

spice depends on spice-protocol, when IMAGE_INSTALL contains spice,
do_populate_sdk fails with the following error:

  Error:
  Problem: package libspice-server-dev-0.14.2+git0+7cbd70b931_4fc4c2db36-r0.core2_64 requires spice-protocol-dev, but none of the providers can be installed
  - conflicting requests
  - nothing provides spice-protocol = 0.14.4-r0 needed by spice-protocol-dev-0.14.4-r0.core2_64
  (try to add '--skip-broken' to skip uninstallable packages)

For spice-protocol, it's a development package and all things are in
the dev package, so set ALLOW_EMPTY to fix the above error.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Armin Kuster <akuster808@gmail.com>
This commit is contained in:
Chen Qi 2023-08-28 00:05:02 -07:00 committed by Armin Kuster
parent 39d15cf5cb
commit 71d9cabed7

View File

@ -16,4 +16,6 @@ S = "${WORKDIR}/git"
inherit meson pkgconfig
ALLOW_EMPTY:${PN} = "1"
BBCLASSEXTEND = "native nativesdk"