mirror of
https://github.com/NixOS/mobile-nixos.git
synced 2024-12-11 09:04:01 +03:00
boot/init: Mark udev as required for graphics
With modular kernels, it may be that kernel modules need to be loaded "automatically" by udev for things to work correctly, like input.
This commit is contained in:
parent
a97c094f65
commit
ee151c8cd5
@ -11,6 +11,9 @@ class Tasks::UDev < SingletonTask
|
||||
# It is preferred to depend on the specific device rather than this target.
|
||||
Targets[:Devices].add_dependency(:Task, self)
|
||||
Targets[:SwitchRoot].add_dependency(:Task, self)
|
||||
|
||||
# May be required for input
|
||||
Targets[:Graphics].add_dependency(:Task, self)
|
||||
end
|
||||
|
||||
def udevadm(*args)
|
||||
|
Loading…
Reference in New Issue
Block a user