aboutsummaryrefslogtreecommitdiffstats
path: root/meta-agl-bsp/meta-fsl-arm/recipes-graphics/weston/weston_%.bbappend
diff options
context:
space:
mode:
authorDennis Field <dennisf@radiosound.com>2016-11-09 15:55:05 -0500
committerJan-Simon Moeller <jsmoeller@linuxfoundation.org>2016-11-11 13:44:17 +0000
commitdd8aa67bfee8887e1943ad4ef49232ea04025330 (patch)
tree41a258c84e3cc3caffd01b1a891b35ea4f136e86 /meta-agl-bsp/meta-fsl-arm/recipes-graphics/weston/weston_%.bbappend
parent7a832073f35a54fe2db8b7045c944b4af96505e0 (diff)
weston: Set XDG_RUNTIME_DIR for fsl-arm
Without this environment variable, Weston fails to start on Wandboard Bug-AGL: SPEC-318 Change-Id: I42696f45d9a9b78dfeea905d3c5066845056894e Signed-off-by: Dennis Field <dennisf@radiosound.com>
Diffstat (limited to 'meta-agl-bsp/meta-fsl-arm/recipes-graphics/weston/weston_%.bbappend')
-rw-r--r--meta-agl-bsp/meta-fsl-arm/recipes-graphics/weston/weston_%.bbappend14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-fsl-arm/recipes-graphics/weston/weston_%.bbappend b/meta-agl-bsp/meta-fsl-arm/recipes-graphics/weston/weston_%.bbappend
new file mode 100644
index 000000000..bdb6e44de
--- /dev/null
+++ b/meta-agl-bsp/meta-fsl-arm/recipes-graphics/weston/weston_%.bbappend
@@ -0,0 +1,14 @@
+FILESEXTRAPATHS_append := ":${THISDIR}/${PN}"
+
+SRC_URI_append = "\
+ file://weston.sh \
+ "
+
+do_install_append() {
+ install -d ${D}/${sysconfdir}/profile.d
+ install -m 0755 ${WORKDIR}/weston.sh ${D}/${sysconfdir}/profile.d/weston.sh
+}
+
+FILES_${PN} += " \
+ ${sysconfdir}/profile.d/weston.sh \
+ "