blob: 3eced0a57b58cedfcc0566e4c35bf5f02d2ab34e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
diff -dPNur mkinitrd-4.2.17/mkinitrd mkinitrd-4.2.17-new/mkinitrd
--- mkinitrd-4.2.17/mkinitrd 2006-01-05 17:11:25.000000000 +0000
+++ mkinitrd-4.2.17-new/mkinitrd 2006-01-05 16:54:20.000000000 +0000
@@ -1015,8 +1015,11 @@
if [ -x /sbin/mdassemble ]; then
cp $verbose -aL /sbin/mdassemble $MNTIMAGE/sbin
raidstart_command="mdassemble"
+ elif [ -x /sbin/mdadm.static ]; then
+ inst /sbin/mdadm.static $MNTIMAGE/sbin/mdadm
+ raidstart_command="mdadm -A -s"
elif [ -x /sbin/mdadm ]; then
inst /sbin/mdadm $MNTIMAGE/sbin
raidstart_command="mdadm -A -s"
else
raidstart_command="raidautorun /dev/md${md}"
|