summaryrefslogtreecommitdiffstats
path: root/yocto-poky/meta/recipes-extended/sysklogd/sysklogd.inc
diff options
context:
space:
mode:
Diffstat (limited to 'yocto-poky/meta/recipes-extended/sysklogd/sysklogd.inc')
-rw-r--r--yocto-poky/meta/recipes-extended/sysklogd/sysklogd.inc8
1 files changed, 8 insertions, 0 deletions
diff --git a/yocto-poky/meta/recipes-extended/sysklogd/sysklogd.inc b/yocto-poky/meta/recipes-extended/sysklogd/sysklogd.inc
index bcf8aa7a9..1e363db6e 100644
--- a/yocto-poky/meta/recipes-extended/sysklogd/sysklogd.inc
+++ b/yocto-poky/meta/recipes-extended/sysklogd/sysklogd.inc
@@ -15,6 +15,7 @@ inherit update-rc.d update-alternatives
SRC_URI = "http://www.infodrom.org/projects/sysklogd/download/sysklogd-${PV}.tar.gz \
file://no-strip-install.patch \
+ file://0001-Fix-build-with-musl.patch \
file://sysklogd \
file://syslog.conf \
"
@@ -24,6 +25,8 @@ SRC_URI_append_e500v2 = " file://no-vectorization.patch"
INITSCRIPT_NAME = "syslog"
CONFFILES_${PN} = "${sysconfdir}/syslog.conf.${BPN}"
+EXTRA_OEMAKE = "-e MAKEFLAGS="
+
CFLAGS_append = " -DSYSV"
do_install () {
@@ -56,3 +59,8 @@ pkg_prerm_${PN} () {
fi
fi
}
+
+python () {
+ if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
+ d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
+}
OpenPOWER on IntegriCloud