xpext: Allow the main package to be empty.
PATCH 1/1 xpext: Allow the main package to be empty.
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@i586: Can't install xpext-dev-1.0+5-r0@i586: no package provides xpext = 1.0+5-r0
--- meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb | 2 ++ 1 file changed, 2 insertions(+)
meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb +2 -0
@@ -15,3 +15,5 @@ REQUIRED_DISTRO_FEATURES = "x11" SRC_URI[md5sum] = "1b0cb67b6f2bd7c4abef17648b062896" SRC_URI[sha256sum] = "a3b06f5188fd9effd0799ae31352b3cd65cb913b964e2c1a923ffa9d3c08abbe" + +ALLOW_EMPTY_${PN} = "1"
Signature · 1 line
2.9.3
Quoted 6 lines · Drew Moseley
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@i586: Can't install xpext-dev-1.0+5-r0@i586: no package provides xpext = 1.0+5-r0
Isn't it better to disable this dependency from xpext-dev than to install completely useless empty image into the image?
Quoted 23 lines
Signed-off-by Drew Moseley <[email protected]>--- meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb | 2 ++ 1 file changed, 2 insertions(+)meta-oe/recipes-multimedia/xpext/xpext_1.0-5.bb +2
-0@@ -15,3 +15,5 @@ REQUIRED_DISTRO_FEATURES = "x11" SRC_URI[md5sum] = "1b0cb67b6f2bd7c4abef17648b062896" SRC_URI[sha256sum] = "a3b06f5188fd9effd0799ae31352b3cd65cb913b964e2c1a923ffa9d3c08abbe" + +ALLOW_EMPTY_${PN} = "1"Signature · 7 lines
2.9.3 -- _______________________________________________ Openembedded-devel mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-devel
Signature · 1 line
Martin 'JaMa' Jansa jabber: [email protected]
Quoted 7 lines · Martin Jansa
Quoted 3 lines · Drew Moseley
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.
Quoted 6 lines
Quoted 3 lines
Allowing the package to be empty fixes this.
warning: Can't install mpv-dev-0.15.0-r0@i586: Can't install xpext-dev-1.0+5-r0@i586: no package provides xpext = 1.0+5-r0Isn't it better to disable this dependency from xpext-dev than to install completely useless empty image into the image?
Probably so. Thanks for the suggestion. Looks like:
http://cgit.openembedded.org/meta-openembedded/commit/?h=d523cc183903fd0bc2e53af6af99a88ea1652e0d <http://cgit.openembedded.org/meta-openembedded/commit/?h=d523cc183903fd0bc2e53af6af99a88ea1652e0d>
is probably a similar solution. I’ll submit an update.
Drew