mirror of
https://git.yoctoproject.org/poky
synced 2026-04-27 21:32:13 +02:00
weston-init: Use bitbake path variable
(From OE-Core rev: 537afef2209bef327a28234207d1ef7e4e596a6e) Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
be82bdd592
commit
7950a90bcc
@@ -15,6 +15,7 @@ do_install() {
|
||||
# Install weston-start script
|
||||
install -Dm755 ${WORKDIR}/weston-start ${D}${bindir}/weston-start
|
||||
sed -i 's,@DATADIR@,${datadir},g' ${D}${bindir}/weston-start
|
||||
sed -i 's,@LOCALSTATEDIR@,${localstatedir},g' ${D}${bindir}/weston-start
|
||||
}
|
||||
|
||||
inherit allarch update-rc.d distro_features_check systemd
|
||||
|
||||
@@ -69,4 +69,4 @@ if test -z "$XDG_RUNTIME_DIR"; then
|
||||
chmod 0700 $XDG_RUNTIME_DIR
|
||||
fi
|
||||
|
||||
exec openvt $openvt_args -- $launcher $weston_args --log=/var/log/weston.log
|
||||
exec openvt $openvt_args -- $launcher $weston_args --log=@LOCALSTATEDIR@/log/weston.log
|
||||
|
||||
Reference in New Issue
Block a user