From: Michael Tretter <m.tretter@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Michael Tretter <m.tretter@pengutronix.de>
Subject: [ptxdist] [PATCH] systemd: install systemd-journal-upload
Date: Mon, 9 Dec 2024 12:02:13 +0100 [thread overview]
Message-ID: <20241209110213.1391568-1-m.tretter@pengutronix.de> (raw)
systemd-journal-upload allows to send journal messages over the network.
As it is enabled together with systemd-journal-remote and build if
libcurl is available, it is already build together with
systemd-journal-remote.
Install systemd-journal-upload and the config file into the target
system.
Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
---
rules/systemd.make | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rules/systemd.make b/rules/systemd.make
index ae0564213a2d..bed45a2c8d52 100644
--- a/rules/systemd.make
+++ b/rules/systemd.make
@@ -269,6 +269,7 @@ SYSTEMD_HELPER := \
$(call ptx/ifdef, PTXCONF_SYSTEMD_HOSTNAMED,systemd-hostnamed) \
systemd-journald \
$(call ptx/ifdef, PTXCONF_SYSTEMD_JOURNAL_REMOTE,systemd-journal-remote) \
+ $(call ptx/ifdef, PTXCONF_SYSTEMD_JOURNAL_REMOTE,systemd-journal-upload) \
$(call ptx/ifdef, PTXCONF_SYSTEMD_LOCALES,systemd-localed) \
$(call ptx/ifdef, PTXCONF_SYSTEMD_LOGIND,systemd-logind) \
$(call ptx/ifdef, PTXCONF_SYSTEMD_NSPAWN,systemd-machined) \
@@ -457,6 +458,8 @@ endif
ifdef PTXCONF_SYSTEMD_JOURNAL_REMOTE
@$(call install_alternative, systemd, 0, 0, 0644, \
/etc/systemd/journal-remote.conf)
+ @$(call install_alternative, systemd, 0, 0, 0644, \
+ /etc/systemd/journal-upload.conf)
endif
ifdef PTXCONF_SYSTEMD_LOCALES
--
2.39.5
reply other threads:[~2024-12-09 11:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20241209110213.1391568-1-m.tretter@pengutronix.de \
--to=m.tretter@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox