If DISTRO_FEATURES contained wayland but not x11, the build would fail due to nothing providing xserver-xorg-xwayland.
Signed-off-by: Tom Hochstein <[email protected]> --- meta/recipes-graphics/wayland/weston_1.10.0.bb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-graphics/wayland/weston_1.10.0.bb b/meta/recipes-graphics/wayland/weston_1.10.0.bb index 37a4839..5bbbeb8 100644 --- a/meta/recipes-graphics/wayland/weston_1.10.0.bb +++ b/meta/recipes-graphics/wayland/weston_1.10.0.bb @@ -100,7 +100,7 @@ do_install_append() { fi } -PACKAGE_BEFORE_PN += "${PN}-xwayland" +PACKAGE_BEFORE_PN += "${@bb.utils.contains('DISTRO_FEATURES', 'x11 wayland', '${PN}-xwayland', '', d)}" PACKAGES += "${PN}-examples" FILES_${PN} = "${bindir}/weston ${bindir}/weston-terminal ${bindir}/weston-info ${bindir}/weston-launch ${bindir}/wcap-decode ${libexecdir} ${libdir}/${BPN}/*.so ${datadir}" -- 1.9.1 -- _______________________________________________ Openembedded-core mailing list [email protected] http://lists.openembedded.org/mailman/listinfo/openembedded-core
