From: Alexander Dahl via ptxdist <ptxdist@pengutronix.de>
To: Fabian Pflug <f.pflug@pengutronix.de>
Cc: Alexander Dahl <ada@thorsis.com>, ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] mosquitto: allow to overwrite .service
Date: Wed, 3 Sep 2025 15:49:01 +0200 [thread overview]
Message-ID: <20250903-puzzling-thank-fc53bd5d97e2@thorsis.com> (raw)
In-Reply-To: <20250903134437.726642-1-f.pflug@pengutronix.de>
Hello Fabian,
Am Wed, Sep 03, 2025 at 03:44:37PM +0200 schrieb Fabian Pflug:
> 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)
install_alternative does not need that dash '-' as 5th argument.
Does that even work like this?
Greets
Alex
> @$(call install_link, mosquitto, ../mosquitto.service, \
> /usr/lib/systemd/system/multi-user.target.wants/mosquitto.service)
> --
> 2.47.2
>
>
next prev parent reply other threads:[~2025-09-03 13:49 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-09-03 13:44 Fabian Pflug
2025-09-03 13:49 ` Alexander Dahl via ptxdist [this message]
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=20250903-puzzling-thank-fc53bd5d97e2@thorsis.com \
--to=ptxdist@pengutronix.de \
--cc=ada@thorsis.com \
--cc=f.pflug@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