rjw | 1f88458 | 2022-01-06 17:20:42 +0800 | [diff] [blame^] | 1 | FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" |
2 | |||||
3 | WESTONSTART ??= "/usr/bin/weston-launch -u root -- --idle-time=4294967 --tty=1" | ||||
4 | WESTONSTOP ??= "/usr/bin/killall -s KILL weston" | ||||
5 | |||||
6 | do_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 |