mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: Matthias Fend <matthias.fend@emfend.at>
Cc: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH] media-session: use install_alternative for configuration files
Date: Fri, 21 Jan 2022 13:25:33 +0100	[thread overview]
Message-ID: <YeqmPbF3lH7UuVsx@pengutronix.de> (raw)
In-Reply-To: <20220120085436.760446-1-matthias.fend@emfend.at>

On Thu, Jan 20, 2022 at 09:54:36AM +0100, Matthias Fend wrote:
> This allows customization of the configuration files in projectroot.

Hmmm, these files are supposed to be overwritten in /etc/ if you need a
custom version. I'm not sure if we should replace the original files.

Michael

> Signed-off-by: Matthias Fend <matthias.fend@emfend.at>
> ---
>  rules/media-session.make | 8 ++++----
>  1 file changed, 4 insertions(+), 4 deletions(-)
> 
> diff --git a/rules/media-session.make b/rules/media-session.make
> index cda641294..5a90bc273 100644
> --- a/rules/media-session.make
> +++ b/rules/media-session.make
> @@ -78,13 +78,13 @@ ifdef PTXCONF_MEDIA_SESSION_SYSTEMD_UNIT_USER
>  		/usr/lib/systemd/user/pipewire.service.wants/pipewire-media-session.service)
>  endif
>  
> -	@$(call install_copy, media-session, 0, 0, 644, -, \
> +	@$(call install_alternative, media-session, 0, 0, 0644, \
>  		/usr/share/pipewire/media-session.d/alsa-monitor.conf)
> -	@$(call install_copy, media-session, 0, 0, 644, -, \
> +	@$(call install_alternative, media-session, 0, 0, 0644, \
>  		/usr/share/pipewire/media-session.d/bluez-monitor.conf)
> -	@$(call install_copy, media-session, 0, 0, 644, -, \
> +	@$(call install_alternative, media-session, 0, 0, 0644, \
>  		/usr/share/pipewire/media-session.d/media-session.conf)
> -	@$(call install_copy, media-session, 0, 0, 644, -, \
> +	@$(call install_alternative, media-session, 0, 0, 0644, \
>  		/usr/share/pipewire/media-session.d/v4l2-monitor.conf)
>  
>  	@$(call install_finish, media-session)
> -- 
> 2.25.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de
> To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de
> 

-- 
Pengutronix e.K.                           |                             |
Steuerwalder Str. 21                       | http://www.pengutronix.de/  |
31137 Hildesheim, Germany                  | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de
To unsubscribe, send a mail with subject "unsubscribe" to ptxdist-request@pengutronix.de


  reply	other threads:[~2022-01-21 12:26 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-20  8:54 Matthias Fend
2022-01-21 12:25 ` Michael Olbrich [this message]
2022-01-23 21:49   ` Matthias Fend
2022-01-28 12:35     ` Michael Olbrich
2022-01-30 15:49 ` [ptxdist] [APPLIED] " Michael Olbrich

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=YeqmPbF3lH7UuVsx@pengutronix.de \
    --to=m.olbrich@pengutronix.de \
    --cc=matthias.fend@emfend.at \
    --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