hook-functions: Add watchdog drivers

Add watchdog driver modules for MODULES=most, based on dracut's
90kernel-modules script. These were added in dracut commit 3a60c036db7c
("fix(90kernel-modules): add watchdog drivers for generic initrd"),
stating that we might not be able ping a hardware watchdog fast enough
if we wait until we mount the root filesystem.

Link: 3a60c036db
Signed-off-by: Alper Nebi Yasak <alpernebiyasak@gmail.com>
This commit is contained in:
Alper Nebi Yasak 2024-08-30 14:46:41 +03:00
parent 2eb8e0e04f
commit 91a439b805

View File

@ -752,6 +752,7 @@ auto_add_modules()
modules="$modules =drivers/spi"
modules="$modules =drivers/spmi"
modules="$modules =drivers/usb/phy"
modules="$modules =drivers/watchdog"
# Needed for periodic fsck
modules="$modules =drivers/rtc"