From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 03 Sep 2025 15:45:00 +0200 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 1utnnI-007fOP-2J for lore@lore.pengutronix.de; Wed, 03 Sep 2025 15:45:00 +0200 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 1utnnH-0004O7-Ph; Wed, 03 Sep 2025 15:44:59 +0200 Received: from dude06.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::5c]) by metis.whiteo.stw.pengutronix.de with esmtp (Exim 4.92) (envelope-from ) id 1utnn2-0004Ml-62; Wed, 03 Sep 2025 15:44:44 +0200 From: Fabian Pflug To: ptxdist@pengutronix.de Date: Wed, 3 Sep 2025 15:44:37 +0200 Message-ID: <20250903134437.726642-1-f.pflug@pengutronix.de> X-Mailer: git-send-email 2.47.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH] mosquitto: allow to overwrite .service 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: Fabian Pflug 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 Use alternative instead of copy in order to provide your own mosquitto.service file for easier changes. Signed-off-by: Fabian Pflug --- rules/mosquitto.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/mosquitto.make b/rules/mosquitto.make index 239f1fe3c..ed10bb5f7 100644 --- a/rules/mosquitto.make +++ b/rules/mosquitto.make @@ -99,7 +99,7 @@ ifdef PTXCONF_MOSQUITTO_BROKER /etc/mosquitto/mosquitto.conf) ifdef PTXCONF_MOSQUITTO_SYSTEMD_UNIT - @$(call install_copy, mosquitto, 0, 0, 0644, -, \ + @$(call install_alternative, mosquitto, 0, 0, 0644, -, \ /usr/lib/systemd/system/mosquitto.service) @$(call install_link, mosquitto, ../mosquitto.service, \ /usr/lib/systemd/system/multi-user.target.wants/mosquitto.service) -- 2.47.2