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 <[email protected]>
---
 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 via email to