mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
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 v2] mosquitto: allow to overwrite .service
Date: Thu, 4 Sep 2025 09:09:39 +0200	[thread overview]
Message-ID: <20250904-tiling-numerator-8e35cb8f7ba7@thorsis.com> (raw)
In-Reply-To: <20250903153419.1860004-2-f.pflug@pengutronix.de>

Hello Fabian,

Am Wed, Sep 03, 2025 at 05:31:36PM +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>
> ---
> 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, \

Tested-by: Alexander Dahl <ada@thorsis.com>

Greets
Alex

>  		/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
> 
> 



      reply	other threads:[~2025-09-04  7:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-09-03 13:44 [ptxdist] [PATCH] " Fabian Pflug
2025-09-03 13:49 ` Alexander Dahl via ptxdist
2025-09-03 15:31 ` [ptxdist] [PATCH v2] " Fabian Pflug
2025-09-04  7:09   ` Alexander Dahl via ptxdist [this message]

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=20250904-tiling-numerator-8e35cb8f7ba7@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