mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-27 07:57:27 +00:00
syslog-ng: remove unneeded systemd code / use ${systemd_unitdir}
Signed-off-by: Andreas Müller <schnitzeltony@googlemail.com> Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
committed by
Koen Kooi
parent
af6d280e23
commit
12c93f70c4
@@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=7ec1bcc46f28b11f4722e20d9b7dd4d5"
|
|||||||
# update-rc.d and update-alternatives is important
|
# update-rc.d and update-alternatives is important
|
||||||
RDEPENDS_${PN} += " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
|
RDEPENDS_${PN} += " ${@base_conditional("ONLINE_PACKAGE_MANAGEMENT", "none", "", "update-rc.d", d)}"
|
||||||
|
|
||||||
INC_PR = "r6"
|
INC_PR = "r7"
|
||||||
|
|
||||||
inherit autotools systemd
|
inherit autotools systemd
|
||||||
|
|
||||||
@@ -26,7 +26,7 @@ EXTRA_OECONF = " \
|
|||||||
--disable-pcre \
|
--disable-pcre \
|
||||||
--disable-sql \
|
--disable-sql \
|
||||||
--enable-systemd \
|
--enable-systemd \
|
||||||
--with-systemdsystemunitdir=${base_libdir}/systemd/system \
|
--with-systemdsystemunitdir=${systemd_unitdir}/system \
|
||||||
"
|
"
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
@@ -47,11 +47,6 @@ do_install_append() {
|
|||||||
SYSTEMD_PACKAGES = "${PN}-systemd"
|
SYSTEMD_PACKAGES = "${PN}-systemd"
|
||||||
SYSTEMD_SERVICE = "${PN}.service"
|
SYSTEMD_SERVICE = "${PN}.service"
|
||||||
|
|
||||||
PACKAGES =+ "${PN}-systemd"
|
|
||||||
|
|
||||||
FILES_${PN}-systemd += "${base_libdir}/systemd"
|
|
||||||
RDEPENDS_${PN}-systemd += "${PN}"
|
|
||||||
|
|
||||||
FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
|
FILES_${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*${SOLIBS} \
|
||||||
${sysconfdir} ${sharedstatedir} ${localstatedir} \
|
${sysconfdir} ${sharedstatedir} ${localstatedir} \
|
||||||
${base_bindir}/* ${base_sbindir}/* \
|
${base_bindir}/* ${base_sbindir}/* \
|
||||||
|
|||||||
Reference in New Issue
Block a user