From: Fabian Pflug <f.pflug@pengutronix.de>
To: ptxdist@pengutronix.de
Cc: Fabian Pflug <f.pflug@pengutronix.de>
Subject: [ptxdist] [PATCH] mosquitto: allow to overwrite .service
Date: Wed, 3 Sep 2025 15:44:37 +0200 [thread overview]
Message-ID: <20250903134437.726642-1-f.pflug@pengutronix.de> (raw)
Use alternative instead of copy in order to provide your own
mosquitto.service file for easier changes.
Signed-off-by: Fabian Pflug <f.pflug@pengutronix.de>
---
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
next reply other threads:[~2025-09-03 13:45 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-03 13:44 Fabian Pflug [this message]
2025-09-03 13:49 ` Alexander Dahl via ptxdist
2025-09-03 15:31 ` [ptxdist] [PATCH v2] " Fabian Pflug
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20250903134437.726642-1-f.pflug@pengutronix.de \
--to=f.pflug@pengutronix.de \
--cc=ptxdist@pengutronix.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox