Browse Source

Improved mkinitrd to include md-mod and raid personalities kernel modules

early
Alejandro Mery 17 years ago
parent
commit
576c617c74
  1. 4
      base/mkinitrd/mkinitrd.sh

4
base/mkinitrd/mkinitrd.sh

@ -79,9 +79,9 @@ echo "Copying kernel modules ..."
if [ -x /sbin/modinfo -a -x /sbin/depmod ]; then
find $moddir/kernel -type f | grep \
-e reiserfs -e reiser4 -e ext2 -e ext3 -e /jfs -e /xfs \
-e isofs -e udf -e /unionfs -e ntfs -e fat -e dm-mod \
-e isofs -e udf -e /unionfs -e ntfs -e fat -e dm-mod -e md-mod \
-e /ide/ -e /ata/ -e /scsi/ -e /message/ -e hci \
-e usb-storage -e sbp2 \
-e usb-storage -e sbp2 -e /md/raid \
-e drivers/net/ -e '/ipv6\.' |
while read fn ; do
for x in $fn `/sbin/modinfo $fn | grep depends |

Loading…
Cancel
Save