Skip to content

Commit 3c8ca29

Browse files
martinezjavierharaldh
authored andcommitted
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 <pbrobinson@gmail.com> Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
1 parent 21ee81b commit 3c8ca29

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

modules.d/90kernel-network-modules/module-setup.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ installkernel() {
3737
dracut_instmods -o -P ".*${_unwanted_drivers}.*" -s "$_net_symbols" "=drivers/net"
3838
#instmods() will take care of hostonly
3939
instmods \
40+
=drivers/net/mdio \
4041
=drivers/net/phy \
4142
=drivers/net/team \
4243
=drivers/net/ethernet \

0 commit comments

Comments
 (0)