[Buildroot] [PATCH 1/1] package/linuxptp: remove hardcoded interface from config to args
heiko.thiery at gmail.com
Mon Jun 15 11:35:45 UTC 2020
Hi Thomas, Hi Michael,
Am Mi., 27. Mai 2020 um 08:51 Uhr schrieb Heiko Thiery <heiko.thiery at gmail.com>:
> Hi Petr,
> Am Do., 21. Mai 2020 um 23:22 Uhr schrieb Michael Walle <michael at walle.cc>:
> > Hi all,
> > Am 2020-05-21 15:36, schrieb Thomas Petazzoni:
> > > Hello Heiko,
> > >
> > > On Wed, 20 May 2020 07:16:48 +0200
> > > Heiko Thiery <heiko.thiery at gmail.com> wrote:
> > >
> > >> Interface configuration is hard coded in the config file. This will
> > >> throw an error when this interace (eth0) is not present.
> > >>
> > >> This patch removes the interface to be used from the config and
> > >> appends it
> > >> to the PTP4L_ARGS. With this the custom arguments can be set via
> > >> /etc/defaults/ptp4l.
> > >
> > > Well, you can also just as well provide your custom linuxptp.cfg in a
> > > rootfs overlay, no?
> > You can, but then you'd have to copy the configuration on each and every
> > board which has another interface name than "eth0". That being said, I'd
> > also prefer it to have the normal default config, shipped with linuxptp.
> > Like at least debian does too.
> What do you think? Can we change the default configuration to the one
> coming from the package? As Michael mentioned this is also the case
> e.g. for debian.
Since no reply from the package maintainer about changing the default
configuration what do you think? Should we change the used config to
the one provided by the upstream linuxptp?
More information about the buildroot