All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-oe][PATCH v2 1/2] fluentbit: fix systemd input plugin
@ 2021-02-10  7:15 Ramon Fried
  2021-02-10  7:15 ` [meta-oe][PATCH v2 2/2] fluentbit: Fix SIGSEGV caused by using flb_free instead of mk_mem_free Ramon Fried
  0 siblings, 1 reply; 2+ messages in thread
From: Ramon Fried @ 2021-02-10  7:15 UTC (permalink / raw)
  To: openembedded-devel; +Cc: Ramon Fried

Because of missing dependency of systemd, Cmake configure
step didn't find systemd and skipped the systemd input plugin.
Added necessary dependency if systemd is available.

Signed-off-by: Ramon Fried <rfried.dev@gmail.com>
---
v2: Replace bb.utils.contains with bb.utils.filter

 meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb b/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb
index bc4cd0cf9..0b7d11e16 100644
--- a/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb
+++ b/meta-oe/recipes-extended/fluentbit/fluentbit_1.3.5.bb
@@ -22,6 +22,8 @@ SRC_URI[sha256sum] = "e037c76c89269c8dc4027a08e442fefd2751b0f1e0f9c38f9a4b12d781
 
 S = "${WORKDIR}/fluent-bit-${PV}"
 DEPENDS = "zlib bison-native flex-native"
+DEPENDS += "${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)}"
+
 DEPENDS_append_libc-musl = " fts "
 
 INSANE_SKIP_${PN}-dev += "dev-elf"
-- 
2.17.1


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-02-10  7:13 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-02-10  7:15 [meta-oe][PATCH v2 1/2] fluentbit: fix systemd input plugin Ramon Fried
2021-02-10  7:15 ` [meta-oe][PATCH v2 2/2] fluentbit: Fix SIGSEGV caused by using flb_free instead of mk_mem_free Ramon Fried

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.