summaryrefslogtreecommitdiffstats
path: root/recipes-graphics/wayland/weston-ini-conf.bbappend
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-12-11 15:31:19 +0100
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2017-12-13 23:45:01 +0000
commit27b80534895cb8011d1521e070c09d4d878815e2 (patch)
tree00d69790e9b9ab4969fab98f2d5318d9563416ab /recipes-graphics/wayland/weston-ini-conf.bbappend
parente6d5953723254e370d01592d94e3de44401b40fb (diff)
weston-ini-conf: Fix test of DISTRO_FEATURE
The condition now depend of DISTRO_FEATURE (was always true before). Because the condition was badly evaluated the line "virtual=1" was always generated driving weston to crash. Change-Id: I74e3ee90d086224f358dff74183b67e7dbbf3d9f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'recipes-graphics/wayland/weston-ini-conf.bbappend')
-rw-r--r--recipes-graphics/wayland/weston-ini-conf.bbappend4
1 files changed, 2 insertions, 2 deletions
diff --git a/recipes-graphics/wayland/weston-ini-conf.bbappend b/recipes-graphics/wayland/weston-ini-conf.bbappend
index 2f155c022..d778459f2 100644
--- a/recipes-graphics/wayland/weston-ini-conf.bbappend
+++ b/recipes-graphics/wayland/weston-ini-conf.bbappend
@@ -4,11 +4,11 @@ FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
SRC_URI += "${@bb.utils.contains("DISTRO_FEATURES", "virtual-display", "file://virtualoutput.cfg", "",d)}"
do_configure_append() {
- if [ ${@bb.utils.contains('DISTRO_FEATURES', 'virtual-display', 'true', 'false', d)} ]; then
+ if ${@bb.utils.contains('DISTRO_FEATURES', 'virtual-display', 'true', 'false', d)}; then
echo virtual=1 >> ${WORKDIR}/core.cfg
fi
- if [ ${@bb.utils.contains('DISTRO_FEATURES', 'gst-record', 'true', 'false', d)} ]; then
+ if ${@bb.utils.contains('DISTRO_FEATURES', 'gst-record', 'true', 'false', d)}; then
echo recorder=true >> ${WORKDIR}/virtualoutput.cfg
fi
}