mirror of
https://git.yoctoproject.org/poky
synced 2026-01-29 21:08:42 +01:00
Several recipes reference the LICENSE file in their LIC_FILES_CHKSUM
variable as ${COREBASE}/LICENSE. This forces distribution providers to
keep this file verbatim or to overload the affected recipes. The section
"Moving to the Yocto Project 1.6 Release" in the Yocto manual suggests
removing the LICENSE file where possible.
Remove LICENSE in cases where COPYING.MIT is also given and replace
LICENSE with COPYING.MIT if the former was the only entry. All modified
recipes specify LICENSE = "MIT" and none of the in-tree files specify a
different license either.
As the packages do not change (the license files are not contained in
them), do not increase PR.
(From OE-Core rev: 0059e0661826c857a07c862bcb46162671e0e330)
Signed-off-by: Olaf Mandel <o.mandel@menlosystems.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
32 lines
1009 B
BlitzBasic
32 lines
1009 B
BlitzBasic
SUMMARY = "Startup script and systemd unit file for the Weston Wayland compositor"
|
|
LICENSE = "MIT"
|
|
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
|
|
|
|
SRC_URI = "file://init \
|
|
file://weston.service \
|
|
file://weston-start"
|
|
|
|
S = "${WORKDIR}"
|
|
|
|
do_install() {
|
|
install -Dm755 ${WORKDIR}/init ${D}/${sysconfdir}/init.d/weston
|
|
install -Dm0644 ${WORKDIR}/weston.service ${D}${systemd_system_unitdir}/weston.service
|
|
|
|
# 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
|
|
|
|
# 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"
|