summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-graphics/wayland/weston-init.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb
index 8e8c0454be..c34582137d 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -17,6 +17,7 @@ S = "${WORKDIR}"
17PACKAGECONFIG ??= "" 17PACKAGECONFIG ??= ""
18 18
19PACKAGECONFIG[no-idle-timeout] = ",," 19PACKAGECONFIG[no-idle-timeout] = ",,"
20PACKAGECONFIG[use-pixman] = ",,"
20 21
21DEFAULTBACKEND ??= "" 22DEFAULTBACKEND ??= ""
22DEFAULTBACKEND:qemuall ?= "drm" 23DEFAULTBACKEND:qemuall ?= "drm"
@@ -51,6 +52,10 @@ do_install() {
51 sed -i -e "/^\[core\]/a idle-time=0" ${D}${sysconfdir}/xdg/weston/weston.ini 52 sed -i -e "/^\[core\]/a idle-time=0" ${D}${sysconfdir}/xdg/weston/weston.ini
52 fi 53 fi
53 54
55 if [ "${@bb.utils.contains('PACKAGECONFIG', 'use-pixman', 'yes', 'no', d)}" = "yes" ]; then
56 sed -i -e "/^\[core\]/a use-pixman=true" ${D}${sysconfdir}/xdg/weston/weston.ini
57 fi
58
54 install -dm 755 -o weston -g weston ${D}/home/weston 59 install -dm 755 -o weston -g weston ${D}/home/weston
55} 60}
56 61