services: kernel-module-lodaer: Add udev requirement.

Otherwise, modules will be loaded before udev starts, and load events won't be
handled.

* gnu/services/linux.scm (kernel-module-loader-shepherd-service)[requirement]:
Add 'udev.

Change-Id: Ib65028978f96012604b54b27a56501d4388b0f34
This commit is contained in:
Hilton Chain 2024-01-27 16:01:13 +08:00
parent 06331aec11
commit b896b9102b
No known key found for this signature in database
GPG key ID: ACC66D09CA528292

View file

@ -291,7 +291,7 @@ (define kernel-module-loader-shepherd-service
(shepherd-service
(documentation "Load kernel modules.")
(provision '(kernel-module-loader))
(requirement '())
(requirement '(udev))
(one-shot? #t)
(modules `((srfi srfi-1)
(srfi srfi-34)