diff options
author | 2021-11-28 20:52:38 -0800 | |
---|---|---|
committer | 2021-11-29 18:37:10 +0000 | |
commit | de1007b690bba70af2c63c47022584c696a9992a (patch) | |
tree | c01ec78c22bb35087e2dcafed4e5e4b3be660861 | |
parent | 63a3d8cb17c5d1affe8f2848f45fcc6a706f9412 (diff) | |
download | meta-raspberrypi-de1007b690bba70af2c63c47022584c696a9992a.tar.gz meta-raspberrypi-de1007b690bba70af2c63c47022584c696a9992a.tar.bz2 meta-raspberrypi-de1007b690bba70af2c63c47022584c696a9992a.zip |
weston-init: Add --continue-without-input option to weston
launching with --continue-without-input helps starting weston
without keyboard/mouse
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | recipes-graphics/wayland/weston-init.bbappend | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/recipes-graphics/wayland/weston-init.bbappend b/recipes-graphics/wayland/weston-init.bbappend new file mode 100644 index 0000000..b6d6f2e --- /dev/null +++ b/recipes-graphics/wayland/weston-init.bbappend @@ -0,0 +1,10 @@ +FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" + +do_install:append:rpi() { + if [ -e ${D}/${sysconfdir}/init.d/weston ]; then + sed -i 's#weston-start --#weston-start -- --continue-without-input#' ${D}/${sysconfdir}/init.d/weston + fi + if [ -e ${D}${systemd_system_unitdir}/weston.service ]; then + sed -i 's#ExecStart=/usr/bin/weston#ExecStart=/usr/bin/weston --continue-without-input#' ${D}${systemd_system_unitdir}/weston.service + fi +} |