systemd-netlogd: new recipe
PATCH v2 1/1 systemd-netlogd: new recipe
From: Rasmus Villemoes <[email protected]>
In some deployments, the log aggregator collects log messages in the syslog format, so systemd-journal-upload and friends can not be used.
systemd-netlogd is a daemon for filling that gap.
Signed-off-by Rasmus Villemoes <[email protected]>
---
v2: add systemd as required distro feature
.../systemd-netlogd/systemd-netlogd_1.4.4.bb | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb
meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb new file +27 -0
@@ -0,0 +1,27 @@ +SUMMARY = "Forwards messages from the journal to other hosts over the network using the Syslog Protocol" + +LICENSE = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" + +SRC_URI = "git://github.com/systemd/systemd-netlogd.git;protocol=https;branch=main" +SRCREV = "b03cc3b1a75048c7cf19467d8918a4b7320767e6" + +inherit meson systemd pkgconfig useradd + +REQUIRED_DISTRO_FEATURES = "systemd" + +S = "${WORKDIR}/git" + +DEPENDS += "systemd" +DEPENDS += "openssl" +DEPENDS += "gperf-native" +DEPENDS += "python3-sphinx-native" + +# systemd-netlogd uses prefix and sysconfdir in a weird way. +EXTRA_OEMESON += "--prefix ${libdir}/systemd --sysconfdir ${sysconfdir}/systemd" + +FILES:${PN} += "${libdir}" + +USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM:${PN} = "-r systemd-journal" +USERADD_PARAM:${PN} = "--system -d / -M --shell /sbin/nologin -g systemd-journal systemd-journal-netlog"
Signature · 1 line
2.48.1
feature_check class needs to be inherited as well.
see
https://errors.yoctoproject.org/Errors/Details/844260/
Quoted 53 lines · Rasmus Villemoes
From: Rasmus Villemoes <[email protected]>
In some deployments, the log aggregator collects log messages in the syslog format, so systemd-journal-upload and friends can not be used.
systemd-netlogd is a daemon for filling that gap.
Signed-off-by Rasmus Villemoes <[email protected]>---
v2: add systemd as required distro feature.../systemd-netlogd/systemd-netlogd_1.4.4.bb | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 meta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bbmeta-oe/recipes-support/systemd-netlogd/systemd-netlogd_1.4.4.bb new file +27
-1@@ -0,0 +1,27 @@ +SUMMARY = "Forwards messages from the journal to other hosts over the network using the Syslog Protocol" + +LICENSE = "LGPL-2.1-or-later" +LIC_FILES_CHKSUM = "file://LICENSE.LGPL2.1;md5=4fbd65380cdd255951079008b364516c" + +SRC_URI = "git://github.com/systemd/systemd-netlogd.git;protocol=https;branch=main" +SRCREV = "b03cc3b1a75048c7cf19467d8918a4b7320767e6" + +inherit meson systemd pkgconfig useradd + +REQUIRED_DISTRO_FEATURES = "systemd" + +S = "${WORKDIR}/git" + +DEPENDS += "systemd" +DEPENDS += "openssl" +DEPENDS += "gperf-native" +DEPENDS += "python3-sphinx-native" + +# systemd-netlogd uses prefix and sysconfdir in a weird way. +EXTRA_OEMESON += "--prefix ${libdir}/systemd --sysconfdir ${sysconfdir}/systemd" + +FILES:${PN} += "${libdir}" + +USERADD_PACKAGES = "${PN}" +GROUPADD_PARAM:${PN} = "-r systemd-journal" +USERADD_PARAM:${PN} = "--system -d / -M --shell /sbin/nologin -g systemd-journal systemd-journal-netlog" --2.48.1