From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 09 Dec 2024 12:02:28 +0100 Received: from metis.whiteo.stw.pengutronix.de ([2a0a:edc0:2:b01:1d::104]) by lore.white.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1tKbX2-005wIa-0F for lore@lore.pengutronix.de; Mon, 09 Dec 2024 12:02:28 +0100 Received: from localhost ([127.0.0.1] helo=metis.whiteo.stw.pengutronix.de) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tKbX2-0003GW-AH; Mon, 09 Dec 2024 12:02:28 +0100 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1tKbWn-0003G5-FB; Mon, 09 Dec 2024 12:02:13 +0100 From: Michael Tretter To: ptxdist@pengutronix.de Date: Mon, 9 Dec 2024 12:02:13 +0100 Message-Id: <20241209110213.1391568-1-m.tretter@pengutronix.de> X-Mailer: git-send-email 2.39.5 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] systemd: install systemd-journal-upload X-BeenThere: ptxdist@pengutronix.de X-Mailman-Version: 2.1.29 Precedence: list List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: ptxdist@pengutronix.de Cc: Michael Tretter Sender: "ptxdist" X-SA-Exim-Connect-IP: 127.0.0.1 X-SA-Exim-Mail-From: ptxdist-bounces@pengutronix.de X-SA-Exim-Scanned: No (on metis.whiteo.stw.pengutronix.de); SAEximRunCond expanded to false 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 --- 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