[Buildroot] [git commit branch/2025.08.x] package/linuxptp: update default config
Titouan Christophe
titouan.christophe at mind.be
Tue Sep 30 09:33:36 UTC 2025
commit: https://git.buildroot.net/buildroot/commit/?id=132417880e0dae2b0cd8e94a753778acca1ce653
branch: https://git.buildroot.net/buildroot/commit/?id=refs/heads/2025.08.x
Since upstream commit [1] ("Deprecate the slaveOnly option in favor
of clientOnly."), included in v4.0, ptp4l complains about the
"slaveOnly" option being deprecated on startup.
Update the default config to silence this warning.
[1] https://github.com/richardcochran/linuxptp/commit/fe01cc7c964296321e3c0de2412ef3f1282fa774
Signed-off-by: Florian Larysch <fl at n621.de>
Signed-off-by: Julien Olivain <ju.o at free.fr>
(cherry picked from commit f70b83914f20a1ee10b29aa60f34fd5785a2af8e)
Signed-off-by: Titouan Christophe <titouan.christophe at mind.be>
---
package/linuxptp/linuxptp.cfg | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/package/linuxptp/linuxptp.cfg b/package/linuxptp/linuxptp.cfg
index f9d02e8d97..09a905ed9e 100644
--- a/package/linuxptp/linuxptp.cfg
+++ b/package/linuxptp/linuxptp.cfg
@@ -10,7 +10,7 @@
# or the linuxptp SysV init script.
[global]
-slaveOnly 1
+clientOnly 1
delay_mechanism Auto
network_transport UDPv4
time_stamping hardware
More information about the buildroot
mailing list