From mboxrd@z Thu Jan 1 00:00:00 1970 Delivery-date: Mon, 08 Sep 2025 09:24:28 +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 1uvWEm-000Yl3-1g for lore@lore.pengutronix.de; Mon, 08 Sep 2025 09:24:28 +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 1uvWEl-0000Dz-JN; Mon, 08 Sep 2025 09:24:27 +0200 Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.whiteo.stw.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1uvWEc-0007vU-UQ; Mon, 08 Sep 2025 09:24:18 +0200 Received: from dude05.red.stw.pengutronix.de ([2a0a:edc0:0:1101:1d::54]) by drehscheibe.grey.stw.pengutronix.de with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96) (envelope-from ) id 1uvWEc-000D6z-18; Mon, 08 Sep 2025 09:24:18 +0200 Received: from mol by dude05.red.stw.pengutronix.de with local (Exim 4.98.2) (envelope-from ) id 1uvWEc-0000000Ej75-1GNr; Mon, 08 Sep 2025 09:24:18 +0200 From: Michael Olbrich To: ptxdist@pengutronix.de Date: Mon, 8 Sep 2025 09:24:18 +0200 Message-ID: <20250908072418.3510000-1-m.olbrich@pengutronix.de> X-Mailer: git-send-email 2.47.3 In-Reply-To: <20250903153419.1860004-2-f.pflug@pengutronix.de> References: <20250903153419.1860004-2-f.pflug@pengutronix.de> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [ptxdist] [APPLIED] 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 Thanks, applied as 09c76f2c58db9d24045db92ddd3e976b47cd0012. Michael [sent from post-receive hook] On Mon, 08 Sep 2025 09:24:18 +0200, Fabian Pflug wrote: > Use alternative instead of copy in order to provide your own > mosquitto.service file for easier changes. > > Signed-off-by: Fabian Pflug > Tested-by: Alexander Dahl > Message-Id: <20250903153419.1860004-2-f.pflug@pengutronix.de> > Signed-off-by: Michael Olbrich > > diff --git a/rules/mosquitto.make b/rules/mosquitto.make > index 488618e15478..ccc0d2eaace9 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)