]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
fix(90kernel-modules): add watchdog drivers for generic initrd
authorPeter Robinson <pbrobinson@gmail.com>
Wed, 21 Apr 2021 11:50:41 +0000 (12:50 +0100)
committerHarald Hoyer <harald@hoyer.xyz>
Wed, 21 Apr 2021 12:31:30 +0000 (14:31 +0200)
The watchdog module pulls in the device specific watchdog if that
module is enabled, but in the case where we need a generic initrd
we don't get all watchdog drivers which means if we have a watchdog
enabled for that usecase it may get kicked too late in the boot
process so we need the drivers in the initrd for the generic case too.

Signed-off-by: Peter Robinson <pbrobinson@gmail.com>
modules.d/90kernel-modules/module-setup.sh

index 1a1b56a299a3186754889ae6c7d5d23539560a1c..b3c91f21bc97a27173356659ba2dd61dad79df57 100755 (executable)
@@ -52,7 +52,8 @@ installkernel() {
             "=drivers/input/keyboard" \
             "=drivers/pci/host" \
             "=drivers/pci/controller" \
-            "=drivers/pinctrl"
+            "=drivers/pinctrl" \
+            "=drivers/watchdog"
 
         instmods \
             yenta_socket \