mirror of
https://git.yoctoproject.org/poky
synced 2026-02-12 03:33:02 +01:00
Previously weston was started by systemd via a classic init script [YOCTO #5582] (From OE-Core rev: e67c7f0998a5a285bd079d2c956bd61457e75077) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
29 lines
796 B
BlitzBasic
29 lines
796 B
BlitzBasic
SUMMARY = "Startup script and systemd unit file for the Weston Wayland compositor"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d690"
|
|
|
|
SRC_URI = "file://init \
|
|
file://weston.service"
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
do_install() {
|
|
install -d ${D}/${sysconfdir}/init.d
|
|
install -m755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston
|
|
|
|
install -d ${D}${systemd_system_unitdir}
|
|
install -m0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir}
|
|
}
|
|
|
|
inherit allarch update-rc.d distro_features_check systemd
|
|
|
|
# rdepends on weston which depends on virtual/egl
|
|
REQUIRED_DISTRO_FEATURES = "opengl"
|
|
|
|
RDEPENDS_${PN} = "weston kbd"
|
|
|
|
INITSCRIPT_NAME = "weston"
|
|
INITSCRIPT_PARAMS = "start 9 5 2 . stop 20 0 1 6 ."
|
|
|
|
SYSTEMD_SERVICE_${PN} = "weston.service"
|