aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2021-11-28 20:52:38 -0800
committerAndrei Gherzan <andrei@gherzan.com>2021-11-29 18:37:10 +0000
commitde1007b690bba70af2c63c47022584c696a9992a (patch)
treec01ec78c22bb35087e2dcafed4e5e4b3be660861
parent63a3d8cb17c5d1affe8f2848f45fcc6a706f9412 (diff)
downloadmeta-raspberrypi-master.zip
meta-raspberrypi-master.tar.gz
meta-raspberrypi-master.tar.bz2
weston-init: Add --continue-without-input option to westonHEADmaster
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.bbappend10
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
+}