Add dedicated module dependency and network services

- Added depmod.yaml service for rebuilding kernel module dependencies
- Added network.yaml service for DHCP network configuration with proper dependencies
- Cleaned up udev.sh to remove depmod call (now handled by dedicated service)
- Updated udev-trigger.yaml to depend on depmod for proper module loading order
- Ensures overlay.ko and other kernel modules have correct dependencies before hardware detection
This commit is contained in:
2025-08-19 17:56:20 +02:00
parent b07788f8db
commit abd0409ad1
3 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1 @@
exec: depmod -a

View File

@@ -0,0 +1,5 @@
exec: dhcpcd eth0
after:
- depmod
- udevd
- udev-trigger

View File

@@ -1,5 +1,6 @@
exec: sh /etc/zinit/init/udev.sh exec: sh /etc/zinit/init/udev.sh
oneshot: true oneshot: true
after: after:
- depmod
- udevmon - udevmon
- udevd - udevd