blob: f38d9282848ce09ac30667b95865f796b1b5b463 [file] [log] [blame]
rjw1f884582022-01-06 17:20:42 +08001FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2
3WESTONSTART ??= "/usr/bin/weston-launch -u root -- --idle-time=4294967 --tty=1"
4WESTONSTOP ??= "/usr/bin/killall -s KILL weston"
5
6do_install_append() {
7 sed -e 's,ExecStart=.*,ExecStart=${WESTONSTART},g' \
8 -e '/ExecStart/a\ExecStop=${WESTONSTOP}' \
9 -e '/EnvironmentFile/d' \
10 -i ${D}${systemd_system_unitdir}/weston.service
11}
12