From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Wed, 03 Sep 2025 17:35:08 +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 1utpVt-007h9w-1M for lore@lore.pengutronix.de; Wed, 03 Sep 2025 17:35:08 +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 1utpVs-0003SS-Js; Wed, 03 Sep 2025 17:35:08 +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 1utpVg-0003SA-3s; Wed, 03 Sep 2025 17:34:56 +0200 From: Fabian Pflug To: ptxdist@pengutronix.de Date: Wed, 3 Sep 2025 17:31:36 +0200 Message-ID: <20250903153419.1860004-2-f.pflug@pengutronix.de> X-Mailer: git-send-email 2.47.2 In-Reply-To: <20250903134437.726642-1-f.pflug@pengutronix.de> References: <20250903134437.726642-1-f.pflug@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [ptxdist] [PATCH v2] 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 --- Forgot to remove the "-," in the first version. Never manually change the file, always copy and paste from your buildsystem... :( Thanks for the hint Alexander Dahl rules/mosquitto.make | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rules/mosquitto.make b/rules/mosquitto.make index 239f1fe3c..a836df897 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