From 576c617c7407ec0e39152068723c1235edf5c3de Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Fri, 8 Feb 2008 17:13:50 -0300 Subject: [PATCH] Improved mkinitrd to include md-mod and raid personalities kernel modules --- base/mkinitrd/mkinitrd.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/base/mkinitrd/mkinitrd.sh b/base/mkinitrd/mkinitrd.sh index 6ed35ffbf..7e1fb9ddf 100644 --- a/base/mkinitrd/mkinitrd.sh +++ b/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 |