From: Javier Martinez Canillas Date: Thu, 21 Jan 2021 11:35:06 +0000 (+0100) Subject: fix(kernel-network-modules): also install modules from mdio subdirectory X-Git-Tag: 052~136 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c8ca29650ff7fc0876f9523e5434e6f15e22ff4;p=thirdparty%2Fdracut.git fix(kernel-network-modules): also install modules from mdio subdirectory A recent change in Linux kernel v5.10 split the MDIO drivers from the PHY subdirectory into a new MDIO subdirectory [0]. This caused MDIO drivers to not be included in the initramfs. Also include the modules of this new subdirectory to prevent this issue. [0]: https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=a9770eac511 Suggested-by: Peter Robinson Signed-off-by: Javier Martinez Canillas --- diff --git a/modules.d/90kernel-network-modules/module-setup.sh b/modules.d/90kernel-network-modules/module-setup.sh index d6bd11ecd..3a0d4e7e2 100755 --- a/modules.d/90kernel-network-modules/module-setup.sh +++ b/modules.d/90kernel-network-modules/module-setup.sh @@ -37,6 +37,7 @@ installkernel() { dracut_instmods -o -P ".*${_unwanted_drivers}.*" -s "$_net_symbols" "=drivers/net" #instmods() will take care of hostonly instmods \ + =drivers/net/mdio \ =drivers/net/phy \ =drivers/net/team \ =drivers/net/ethernet \