mirror of
https://salsa.debian.org/kernel-team/initramfs-tools.git
synced 2026-01-26 15:39:08 +00:00
hook-functions: Add reset drivers when MODULES=dep
Reset drivers are currently included when MODULES=most but not when MODULES=dep. Since they are outside the device model, match them by module name not by driver class. Closes: #1027458 Signed-off-by: Ben Hutchings <benh@debian.org>
This commit is contained in:
parent
af25dc3ff4
commit
34f9acde87
@ -608,11 +608,12 @@ dep_add_modules()
|
||||
class_add_modules "$class"
|
||||
done
|
||||
|
||||
# clk, USB-PHY and pinctrl devices are outside the device model (!) so
|
||||
# match loaded modules by name
|
||||
# clk, USB-PHY, pinctrl and reset devices are outside the device
|
||||
# model (!) so match loaded modules by name
|
||||
add_loaded_modules 'clk[-_]*'
|
||||
add_loaded_modules 'phy[-_]*'
|
||||
add_loaded_modules 'pinctrl[-_]*'
|
||||
add_loaded_modules 'reset[-_]*'
|
||||
|
||||
# Sys walk keyboards. We identify keyboards as input devices
|
||||
# that can generate at least key events 1-31; udev has the
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user