From: Alistair <[email protected]>
Signed-off-by: Alistair Francis <[email protected]>
Signed-off-by: Richard Purdie <[email protected]>
(cherry picked from commit 84b3a6b7bd73ebad90865ee4351578c2109358fb)
Signed-off-by: Anuj Mittal <[email protected]>
---
meta/recipes-graphics/wayland/weston-init.bb | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/meta/recipes-graphics/wayland/weston-init.bb
b/meta/recipes-graphics/wayland/weston-init.bb
index b7a99be646..1eee0d3c71 100644
--- a/meta/recipes-graphics/wayland/weston-init.bb
+++ b/meta/recipes-graphics/wayland/weston-init.bb
@@ -51,7 +51,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
}
--
2.28.0
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#144928):
https://lists.openembedded.org/g/openembedded-core/message/144928
Mute This Topic: https://lists.openembedded.org/mt/78454845/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-