mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Michael Olbrich <m.olbrich@pengutronix.de>
To: ptxdist@pengutronix.de
Subject: Re: [ptxdist] [PATCH 2/4] linuxptp: enable systemd support
Date: Thu, 26 May 2016 11:55:27 +0200	[thread overview]
Message-ID: <20160526095527.GF30393@pengutronix.de> (raw)
In-Reply-To: <1464086940-24418-3-git-send-email-jbe@pengutronix.de>

On Tue, May 24, 2016 at 12:48:58PM +0200, Juergen Borleis wrote:
> The package comes with systemd support. This change makes use of it.

Please add an option for this.

Michael

> Signed-off-by: Juergen Borleis <jbe@pengutronix.de>
> ---
>  rules/linuxptp.make | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
> diff --git a/rules/linuxptp.make b/rules/linuxptp.make
> index 59cbb51..f4893a3 100644
> --- a/rules/linuxptp.make
> +++ b/rules/linuxptp.make
> @@ -62,9 +62,15 @@ $(STATEDIR)/linuxptp.targetinstall:
>  
>  	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/ptp4l)
>  	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/phc2sys)
> +	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/phc_ctl)
>  	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/pmc)
>  	@$(call install_copy, linuxptp, 0, 0, 0755, -, /usr/sbin/hwstamp_ctl)
>  	@$(call install_alternative, linuxptp, 0, 0, 0644, /etc/gPTP.conf)
> +# systemd support
> +	@$(call install_alternative, linuxptp, 0, 0, 0644, /lib/systemd/system/ptp4l.service)
> +	@$(call install_link, linuxptp, ../ptp4l.service, /lib/systemd/system/multi-user.target.wants/ptp4l.service)
> +	@$(call install_alternative, linuxptp, 0, 0, 0644, /lib/systemd/system/phc2sys.service)
> +	@$(call install_link, linuxptp, ../phc2sys.service, /lib/systemd/system/multi-user.target.wants/phc2sys.service)
>  
>  	@$(call install_finish, linuxptp)
>  
> -- 
> 2.8.1
> 
> 
> _______________________________________________
> ptxdist mailing list
> ptxdist@pengutronix.de

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  reply	other threads:[~2016-05-26  9:55 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-24 10:48 [ptxdist] Various changes from my collection Juergen Borleis
2016-05-24 10:48 ` [ptxdist] [PATCH 1/4] DTC: fix package description Juergen Borleis
2016-05-24 10:48 ` [ptxdist] [PATCH 2/4] linuxptp: enable systemd support Juergen Borleis
2016-05-26  9:55   ` Michael Olbrich [this message]
2016-05-24 10:48 ` [ptxdist] [PATCH 3/4] tcpdump: version bump 4.5.1 -> 4.7.1 Juergen Borleis
2016-05-24 10:49 ` [ptxdist] [PATCH 4/4] libmicrohttp: remove from staging by updating to a current release Juergen Borleis
2016-05-26  9:56 ` [ptxdist] Various changes from my collection 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=20160526095527.GF30393@pengutronix.de \
    --to=m.olbrich@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