aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJosé Bollo <jose.bollo@iot.bzh>2017-12-11 15:31:19 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2017-12-11 15:48:19 +0100
commit8e129105b8bbb88699b9a98b762a88038b8132a8 (patch)
treefadc1d8a9bc5721bf262be3a4108e502b9c205d0
parent0b669f705a04c388e0b1b017552ea5be4f770134 (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>
-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
}