mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 04:17:25 +00:00
rsyslog: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
committed by
Koen Kooi
parent
d7639a2ae1
commit
fca1dffca7
@@ -1,19 +1,19 @@
|
|||||||
DESCRIPTION = "Rsyslog is an enhanced multi-threaded syslogd"
|
DESCRIPTION = "Rsyslog is an enhanced multi-threaded syslogd"
|
||||||
DEPENDS = "zlib systemd"
|
DEPENDS = "zlib"
|
||||||
HOMEPAGE = "http://www.rsyslog.com/"
|
HOMEPAGE = "http://www.rsyslog.com/"
|
||||||
LICENSE = "GPLv3"
|
LICENSE = "GPLv3"
|
||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=51d9635e646fb75e1b74c074f788e973"
|
||||||
|
|
||||||
INC_PR = "r4"
|
INC_PR = "r5"
|
||||||
|
|
||||||
SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \
|
SRC_URI = "http://www.rsyslog.com/files/download/rsyslog/${PN}-${PV}.tar.gz \
|
||||||
file://rsyslog.conf"
|
file://rsyslog.conf"
|
||||||
|
|
||||||
|
inherit autotools
|
||||||
|
|
||||||
inherit autotools systemd
|
SYSTEMD_UNITDIR ??= "no"
|
||||||
|
|
||||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
EXTRA_OECONF = "--with-systemdsystemunitdir=${SYSTEMD_UNITDIR}"
|
||||||
SYSTEMD_SERVICE = "${PN}.service"
|
|
||||||
|
|
||||||
do_install_append() {
|
do_install_append() {
|
||||||
install -d ${D}/${sysconfdir}/${PN}
|
install -d ${D}/${sysconfdir}/${PN}
|
||||||
|
|||||||
@@ -0,0 +1,10 @@
|
|||||||
|
inherit systemd
|
||||||
|
|
||||||
|
PRINC := "${@int(PRINC) + 1}"
|
||||||
|
|
||||||
|
DEPENDS += "systemd"
|
||||||
|
|
||||||
|
SYSTEMD_UNITDIR = "${systemd_unitdir}/system"
|
||||||
|
|
||||||
|
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||||
|
SYSTEMD_SERVICE = "${PN}.service"
|
||||||
Reference in New Issue
Block a user