Skip to content

Commit

Permalink
fix(kernel-network-modules): also install modules from mdio subdirectory
Browse files Browse the repository at this point in the history
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 <pbrobinson@gmail.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
  • Loading branch information
martinezjavier authored and haraldh committed Jan 22, 2021
1 parent 21ee81b commit 3c8ca29
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules.d/90kernel-network-modules/module-setup.sh
Expand Up @@ -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 \
Expand Down

0 comments on commit 3c8ca29

Please sign in to comment.