From 75ee644a3344fb2f3bf5bd8733b387064c3e11f4 Mon Sep 17 00:00:00 2001 From: Leon Anavi Date: Thu, 22 Sep 2016 16:29:09 +0300 Subject: weston: Set XDG_RUNTIME_DIR for Raspberry Pi Set environment variable XDG_RUNTIME_DIR and fix Weston on Raspberry Pi 2/3 through script /etc/profile.d/weston.sh. Change-Id: Ie561623641f287e1ec911a5813c2cff225af4977 Signed-off-by: Leon Anavi --- .../meta-raspberrypi/recipes-graphics/wayland/weston_%.bbappend | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston_%.bbappend') diff --git a/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston_%.bbappend b/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston_%.bbappend index 43f1da58f..7c8167961 100644 --- a/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston_%.bbappend +++ b/meta-agl-bsp/meta-raspberrypi/recipes-graphics/wayland/weston_%.bbappend @@ -2,14 +2,19 @@ FILESEXTRAPATHS_append := ":${THISDIR}/${PN}" SRC_URI_append = "\ file://weston-raspberrypi.ini \ + file://weston.sh \ " do_install_append() { WESTON_INI_CONFIG=${sysconfdir}/xdg/weston install -d ${D}${WESTON_INI_CONFIG} install -m 0644 ${WORKDIR}/weston-raspberrypi.ini ${D}${WESTON_INI_CONFIG}/weston.ini + + install -d ${D}/${sysconfdir}/profile.d + install -m 0755 ${WORKDIR}/weston.sh ${D}/${sysconfdir}/profile.d/weston.sh } FILES_${PN} += " \ ${sysconfdir}/xdg/weston/weston.ini \ + ${sysconfdir}/profile.d/weston.sh \ " -- cgit 1.2.3-korg