[Buildroot] [PATCH v4 1/2] package/linuxptp: make initscript options configurable
Thomas Petazzoni
thomas.petazzoni at bootlin.com
Sat Mar 14 14:38:21 UTC 2020
On Thu, 12 Mar 2020 20:04:34 +0100
Heiko Thiery <heiko.thiery at 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 at walle.cc>
> Signed-off-by: Heiko Thiery <heiko.thiery at 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
More information about the buildroot
mailing list