mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
linuxptp: Add systemd instance specifier for ptp4l dependency
Add the instance specifier to the ptp4l dependency for the phc2sys
service, so the corresponding service is automatically started
correctly. This fixes the following error messages, when starting the
phc2sys@... service:
Failed to restart phc2sys@eth0.service: Unit ptp4l.service not found.
Signed-off-by: Martin Schwan <m.schwan@phytec.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
(cherry picked from commit 31f0b9d3d5)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
This commit is contained in:
committed by
Anuj Mittal
parent
2222925e92
commit
10fc221938
@@ -1,8 +1,8 @@
|
||||
[Unit]
|
||||
Description=Synchronize system clock or PTP hardware clock (PHC)
|
||||
Documentation=man:phc2sys
|
||||
Requires=ptp4l.service
|
||||
After=ptp4l.service
|
||||
Requires=ptp4l@%i.service
|
||||
After=ptp4l@%i.service
|
||||
Before=time-sync.target
|
||||
|
||||
[Service]
|
||||
|
||||
Reference in New Issue
Block a user