From: Alistair Date: Sun, 15 Nov 2020 05:17:36 +0000 (-0800) Subject: weston-init: Fix incorrect idle-time setting X-Git-Tag: uninative-2.10~691 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=84b3a6b7bd73ebad90865ee4351578c2109358fb;p=openembedded-core.git weston-init: Fix incorrect idle-time setting Signed-off-by: Alistair Francis Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-graphics/wayland/weston-init.bb b/meta/recipes-graphics/wayland/weston-init.bb index 0cc32985c1..a616c473ec 100644 --- a/meta/recipes-graphics/wayland/weston-init.bb +++ b/meta/recipes-graphics/wayland/weston-init.bb @@ -56,7 +56,7 @@ do_install() { fi if [ "${@bb.utils.contains('PACKAGECONFIG', 'no-idle-timeout', 'yes', 'no', d)}" = "yes" ]; then - echo "idle-time=0" >> ${D}${sysconfdir}/xdg/weston/weston.ini + sed -i -e "/^\[core\]/a idle-time=0" ${D}${sysconfdir}/xdg/weston/weston.ini fi }