-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
meta-lxatac-bsp: lxatac-factory-data: run script before udev starts
This makes sure that our tac-bridge.link file is ready before udev reads it. We have previously run into race conditions where the file was not present at the correct point in time, resulting in the bridge interface coming up with the wrong MAC address. Signed-off-by: Leonard Göhrs <l.goehrs@pengutronix.de>
- Loading branch information
Showing
2 changed files
with
8 additions
and
8 deletions.
There are no files selected for viewing
7 changes: 5 additions & 2 deletions
7
meta-lxatac-bsp/recipes-core/lxatac-factory-data/files/lxatac-factory-data.service
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
[Unit] | ||
Description=Gather and Distribute Factory Data | ||
Before=NetworkManager.service | ||
DefaultDependencies=no | ||
After=systemd-remount-fs.service | ||
Before=systemd-udevd.service | ||
RequiresMountsFor=/run | ||
|
||
[Service] | ||
Type=oneshot | ||
ExecStart=/usr/sbin/lxatac-factory-data | ||
|
||
[Install] | ||
WantedBy=multi-user.target | ||
WantedBy=sysinit.target |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters