]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
90kernel-modules: Don't install extra modules when hostonly mode is set to strict
authorKairui Song <kasong@redhat.com>
Wed, 4 Jul 2018 09:22:00 +0000 (17:22 +0800)
committerHarald Hoyer <harald@hoyer.xyz>
Thu, 5 Jul 2018 07:14:02 +0000 (09:14 +0200)
modules.d/90kernel-modules/module-setup.sh

index a197a606062945512054e45f4b8b2660fef04f45..89b33ce6deeb48cfe2417c7a125cf59e9b21f914 100755 (executable)
@@ -26,6 +26,9 @@ installkernel() {
             uhci-hcd \
             xhci-hcd xhci-pci xhci-plat-hcd \
             pinctrl-cherryview \
+            ${NULL}
+
+        hostonly=$(optional_hostonly) instmods \
             "=drivers/hid" \
             "=drivers/tty/serial" \
             "=drivers/input/serio" \