[oe] [meta-oe][PATCH] xpext: Allow the main package to be empty.

Drew Moseley drew_moseley at mentor.com
Tue Sep 6 18:41:55 UTC 2016


If xpext is included in a build (ie via dependency on mpv) then
builds of core-image-sato-sdk will fail with errors such as below.

Allowing the package to be empty fixes this.

     warning: Can't install mpv-dev-0.15.0-r0 at i586: Can't install xpext-dev-1.0+5-r0 at i586: no package provides xpext = 1.0+5-r0

Signed-off-by: Drew Moseley <drew_moseley at mentor.com>
---
 meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb b/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
index d65546d..84ec5be 100644
--- a/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
+++ b/meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb
@@ -15,3 +15,5 @@ REQUIRED_DISTRO_FEATURES = "x11"
 
 SRC_URI[md5sum] = "1b0cb67b6f2bd7c4abef17648b062896"
 SRC_URI[sha256sum] = "a3b06f5188fd9effd0799ae31352b3cd65cb913b964e2c1a923ffa9d3c08abbe"
+
+ALLOW_EMPTY_${PN} = "1"
-- 
2.9.3




More information about the Openembedded-devel mailing list