From: Kairui Song Date: Wed, 4 Jul 2018 09:22:00 +0000 (+0800) Subject: 90kernel-modules: Don't install extra modules when hostonly mode is set to strict X-Git-Tag: 048~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=432647c278ec0a08a41bf36b243fff44395d9e4a;p=thirdparty%2Fdracut.git 90kernel-modules: Don't install extra modules when hostonly mode is set to strict --- diff --git a/modules.d/90kernel-modules/module-setup.sh b/modules.d/90kernel-modules/module-setup.sh index a197a6060..89b33ce6d 100755 --- a/modules.d/90kernel-modules/module-setup.sh +++ b/modules.d/90kernel-modules/module-setup.sh @@ -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" \