mirror of
git://git.yoctoproject.org/meta-raspberrypi.git
synced 2025-07-19 21:09:03 +02:00
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>
This commit is contained in:
parent
63a3d8cb17
commit
de1007b690
10
recipes-graphics/wayland/weston-init.bbappend
Normal file
10
recipes-graphics/wayland/weston-init.bbappend
Normal file
|
@ -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
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user