[Buildroot] [PATCH] package/linuxptp: make initscript options configurable

Heiko Thiery heiko.thiery at gmail.com
Fri Mar 6 11:54:29 UTC 2020


Hi Carlos, Michael and all,

Am Fr., 6. März 2020 um 12:46 Uhr schrieb Carlos Santos <unixmania at gmail.com>:
>
> On Fri, Mar 6, 2020 at 7:27 AM Heiko Thiery <heiko.thiery at gmail.com> wrote:
> >
> > Hi,
> >
> > Am Fr., 6. März 2020 um 11:19 Uhr schrieb Michael Walle <michael at walle.cc>:
> > >
> > > Let the user supply its own options in /etc/default/linuxptp.
> > > Additionally, let the user decide if he wants to start php2sys.
> > >
> > > Signed-off-by: Michael Walle <michael at walle.cc>
> > > ---
> > >
> > > It might be better to have an own php2sys initscript. I'm not sure.
> > > Thoughts?
> >
> > I think 2 (ptp4l and phc2sys) scripts like done e.g. in debian would be better.
>
> I agree. It can be split in S65linuxptp and S66linuxptp-phc2sys. Just
> remember to source /etc/default/linuxptp in both scripts or to support
>  a separate defaults file for linuxptp-phc2sys.

I would suggest to create two scripts (S65ptp4l and S66phc2sys) and
create support for the defaults of them (/etc/defaults/ptp4l and
/etc/defaults/phc2sys).

> --
> Carlos Santos <unixmania at gmail.com>

--
Heiko


More information about the buildroot mailing list