All of lore.kernel.org
 help / color / mirror / Atom feed
From: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v4 1/2] package/linuxptp: make initscript options configurable
Date: Sat, 14 Mar 2020 15:38:21 +0100	[thread overview]
Message-ID: <20200314153821.1d87f14c@windsurf> (raw)
In-Reply-To: <20200312190434.973-2-heiko.thiery@gmail.com>

On Thu, 12 Mar 2020 20:04:34 +0100
Heiko Thiery <heiko.thiery@gmail.com> wrote:

> The "package/busybox/S01sysklogd" is taken as template to change the
> init script of the linuxptp daemon. The init script is split two parts
> because there are 2 daemons (ptp4l and phc2sys).
> 
> Let the user supply its own options in /etc/default/ptp4l and
> /etc/default/phc2sys.
> 
> This patch also fixes an issue with the creation of the pid file that is
> needed to properly stop the daemon again.
> 
> Signed-off-by: Michael Walle <michael@walle.cc>
> Signed-off-by: Heiko Thiery <heiko.thiery@gmail.com>
> ---
>  package/linuxptp/S65linuxptp | 46 ----------------------------
>  package/linuxptp/S65ptp4l    | 59 ++++++++++++++++++++++++++++++++++++
>  package/linuxptp/S66phc2sys  | 59 ++++++++++++++++++++++++++++++++++++
>  package/linuxptp/linuxptp.mk |  6 ++--
>  4 files changed, 122 insertions(+), 48 deletions(-)
>  delete mode 100644 package/linuxptp/S65linuxptp
>  create mode 100644 package/linuxptp/S65ptp4l
>  create mode 100644 package/linuxptp/S66phc2sys

Applied to master after fixing the bogus comments. Thanks for the work,
and thanks Carlos for the review, testing: thanks to this
review/testing, I could blindly apply the patches.

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com

  parent reply	other threads:[~2020-03-14 14:38 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-12 19:04 [Buildroot] [PATCH v4 0/1] package/linuxptp: make initscript options configurable Heiko Thiery
2020-03-12 19:04 ` [Buildroot] [PATCH v4 1/2] " Heiko Thiery
2020-03-12 20:39   ` Carlos Santos
2020-03-12 21:09     ` Heiko Thiery
2020-03-14 14:38   ` Thomas Petazzoni [this message]
2020-03-12 19:04 ` [Buildroot] [PATCH v4 2/2] package/linuxptp: rename systemd service scripts Heiko Thiery
2020-03-12 20:40   ` Carlos Santos
2020-03-14 14:38   ` Thomas Petazzoni

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=20200314153821.1d87f14c@windsurf \
    --to=thomas.petazzoni@bootlin.com \
    --cc=buildroot@busybox.net \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.