blob: 9b0f434e564544949ab7c9b87a323bbda8738b1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
WESTONTTY ??= "1"
WESTONUSER ??= "root"
WESTONARGS ?= "--idle-time=4294967"
WESTONLAUNCHARGS ??= "--tty /dev/tty${WESTONTTY} --user ${WESTONUSER}"
do_install_append() {
sed -e 's,launcher="weston-launch.*--",launcher="weston-launch ${WESTONLAUNCHARGS} --",g' \
-e 's,exec openvt $openvt_args --,exec ,g' \
-i ${D}${bindir}/weston-start
sed -e 's,User=root,User=${WESTONUSER},g' \
-e 's,$OPTARGS,${WESTONARGS} $OPTARGS,g' \
-i ${D}${systemd_system_unitdir}/weston.service
sed -i "/\[Unit\]/aConflicts=getty@tty${WESTONTTY}.service" \
${D}${systemd_system_unitdir}/weston.service
}
|