diff options
| -rw-r--r-- | meta/recipes-graphics/wayland/weston-init.bb | 5 |
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}" | |||
| 17 | PACKAGECONFIG ??= "" | 17 | PACKAGECONFIG ??= "" |
| 18 | 18 | ||
| 19 | PACKAGECONFIG[no-idle-timeout] = ",," | 19 | PACKAGECONFIG[no-idle-timeout] = ",," |
| 20 | PACKAGECONFIG[use-pixman] = ",," | ||
| 20 | 21 | ||
| 21 | DEFAULTBACKEND ??= "" | 22 | DEFAULTBACKEND ??= "" |
| 22 | DEFAULTBACKEND:qemuall ?= "drm" | 23 | DEFAULTBACKEND: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 | ||
