conmon: compile with journald support if systemd is enabled
PATCH v2 1/1 conmon: compile with journald support if systemd is enabled
From: Stefan Agner <[email protected]>
Currently conman is compiled without journald support which leads to this error message when trying to use it (e.g. --log-driver=journald with podman):
[conmon:e] Include journald in compilation path to log to systemd journal
Make sure to build with journald backend compiled-in when systemd is in distro features by adding systemd to DEPENDS (through PACKAGECONFIG).
--- recipes-containers/conmon/conmon_2.0.9.bb | 3 +++ 1 file changed, 3 insertions(+)
recipes-containers/conmon/conmon_2.0.9.bb +3 -0
@@ -20,6 +20,9 @@ inherit pkgconfig EXTRA_OEMAKE = "PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir}" +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" +PACKAGECONFIG[systemd] = ",,systemd" + do_install() { oe_runmake 'DESTDIR=${D}' install }
Signature · 1 line
2.17.1
merged.
Bruce
In message: [meta-virtualization][PATCH v2] conmon: compile with journald support if systemd is enabled
Quoted 34 lines · on 27/01/2020 Stefan Agner wrote:
From: Stefan Agner <[email protected]>
Currently conman is compiled without journald support which leads to this error message when trying to use it (e.g. --log-driver=journald with podman):
[conmon:e] Include journald in compilation path to log to systemd journalMake sure to build with journald backend compiled-in when systemd is in distro features by adding systemd to DEPENDS (through PACKAGECONFIG).
Signed-off-by Stefan Agner <[email protected]>--- recipes-containers/conmon/conmon_2.0.9.bb | 3 +++ 1 file changed, 3 insertions(+)recipes-containers/conmon/conmon_2.0.9.bb +3
-0@@ -20,6 +20,9 @@ inherit pkgconfig EXTRA_OEMAKE = "PREFIX=${prefix} BINDIR=${bindir} LIBEXECDIR=${libexecdir}" +PACKAGECONFIG ??= "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'systemd', '', d)}" +PACKAGECONFIG[systemd] = ",,systemd" + do_install() { oe_runmake 'DESTDIR=${D}' install }Signature · 1 line
2.17.1