Skip to content

Commit

Permalink
meta-lxatac-bsp: lxatac-factory-data: run script before udev starts
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
hnez committed Mar 1, 2024
1 parent 894ff6e commit 07a08bd
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
[Unit]
Description=Gather and Distribute Factory Data
Before=NetworkManager.service
DefaultDependencies=no
After=systemd-remount-fs.service
Before=systemd-udevd.service

[Service]
Type=oneshot
ExecStart=/usr/sbin/lxatac-factory-data

[Install]
WantedBy=multi-user.target
WantedBy=sysinit.target

0 comments on commit 07a08bd

Please sign in to comment.