From dcbb211458beab5cc225e0c8fc0c9df28d20c946 Mon Sep 17 00:00:00 2001 From: Thao Nguyen Date: Thu, 16 Feb 2017 19:13:08 +0700 Subject: rcar-gen3: weston: Fix issue of v4l2-renderer for ULCB Because ULCB is not mounted VIN, they will use /dev/media0 for v4l2-renderer. Change-Id: Idbd40a5745c8f109455c57f77bb605c9f2964d78 Signed-off-by: Thao Nguyen Signed-off-by: Takamitsu Honda --- meta-rcar-gen3/recipes-graphics/wayland/weston_1.11.0.bbappend | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta-rcar-gen3/recipes-graphics/wayland/weston_1.11.0.bbappend') diff --git a/meta-rcar-gen3/recipes-graphics/wayland/weston_1.11.0.bbappend b/meta-rcar-gen3/recipes-graphics/wayland/weston_1.11.0.bbappend index 13f77b4..66dedfe 100644 --- a/meta-rcar-gen3/recipes-graphics/wayland/weston_1.11.0.bbappend +++ b/meta-rcar-gen3/recipes-graphics/wayland/weston_1.11.0.bbappend @@ -31,6 +31,9 @@ do_install_append() { if [ "X${USE_MULTIMEDIA}" = "X1" ]; then # install weston.ini as sample settings of v4l2-renderer install -d ${D}/${sysconfdir}/xdg/weston + if [ "${MACHINE}" = "m3ulcb" -o "${MACHINE}" = "h3ulcb" ] ; then + sed -i 's|media1|media0|g' ${WORKDIR}/weston_v4l2.ini + fi install -m 644 ${WORKDIR}/weston_v4l2.ini ${D}/${sysconfdir}/xdg/weston/weston.ini else # install weston.ini as sample settings of gl-renderer -- cgit 1.2.3-korg