mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
rsyslog: move systemd support to meta-systemd
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com>
This commit is contained in:
parent
d7639a2ae1
commit
fca1dffca7
|
|
@ -1,19 +1,19 @@
|
|||
DESCRIPTION = "Rsyslog is an enhanced multi-threaded syslogd"
|
||||
DEPENDS = "zlib systemd"
|
||||
DEPENDS = "zlib"
|
||||
HOMEPAGE = "http://www.rsyslog.com/"
|
||||
LICENSE = "GPLv3"
|
||||
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 \
|
||||
file://rsyslog.conf"
|
||||
|
||||
inherit autotools
|
||||
|
||||
inherit autotools systemd
|
||||
SYSTEMD_UNITDIR ??= "no"
|
||||
|
||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||
SYSTEMD_SERVICE = "${PN}.service"
|
||||
EXTRA_OECONF = "--with-systemdsystemunitdir=${SYSTEMD_UNITDIR}"
|
||||
|
||||
do_install_append() {
|
||||
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"
|
||||
Loading…
Reference in New Issue
Block a user