mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-15 16:07:26 +00:00
c95e155780
Changes: - rename SUMMARY with length > 80 to DESCRIPTION - rename DESCRIPTION with length < 80 to (non present tag) SUMMARY - drop final point character at the end of SUMMARY string - remove trailing whitespace of SUMMARY line Note: don't bump PR Signed-off-by: Matthieu Crapet <Matthieu.Crapet@ingenico.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
42 lines
1.2 KiB
BlitzBasic
42 lines
1.2 KiB
BlitzBasic
SUMMARY = "Simple Xserver Init Script (no dm)"
|
|
LICENSE = "GPLv2"
|
|
LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe"
|
|
SECTION = "x11"
|
|
|
|
PR = "r22"
|
|
|
|
SRC_URI = "file://xserver-nodm \
|
|
file://gplv2-license.patch \
|
|
file://xserver-nodm.service \
|
|
file://xserver-nodm.conf \
|
|
"
|
|
S = "${WORKDIR}"
|
|
|
|
inherit allarch update-rc.d systemd
|
|
|
|
INITSCRIPT_NAME = "xserver-nodm"
|
|
INITSCRIPT_PARAMS = "start 01 5 2 . stop 01 0 1 6 ."
|
|
INITSCRIPT_PARAMS_shr = "start 90 5 2 . stop 90 0 1 6 ."
|
|
|
|
do_install() {
|
|
install -d ${D}${sysconfdir}/init.d
|
|
install xserver-nodm ${D}${sysconfdir}/init.d
|
|
|
|
install -d ${D}${sysconfdir}/default
|
|
|
|
if ${@base_contains('DISTRO_FEATURES','systemd','true','false',d)}; then
|
|
install -d ${D}${systemd_unitdir}/system
|
|
install xserver-nodm.conf ${D}${sysconfdir}/default/xserver-nodm
|
|
install -m 0644 ${WORKDIR}/xserver-nodm.service ${D}${systemd_unitdir}/system
|
|
fi
|
|
}
|
|
|
|
RDEPENDS_${PN} = "xserver-common (>= 1.30) xinit"
|
|
|
|
RPROVIDES_${PN} += "${PN}-systemd"
|
|
RREPLACES_${PN} += "${PN}-systemd"
|
|
RCONFLICTS_${PN} += "${PN}-systemd"
|
|
SYSTEMD_SERVICE_${PN} = "xserver-nodm.service"
|
|
|
|
FILES_${PN} += "${sysconfdir}/default/xserver-nodm"
|