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.
@@ -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)
