--- mkinitrd-5.1.19.6/mkinitrd.mdassemble 2007-12-20 09:39:29.000000000 -0700 +++ mkinitrd-5.1.19.6/mkinitrd 2007-12-20 09:22:37.000000000 -0700 @@ -1347,15 +1347,8 @@ if [ -n "$raiddevices" ]; then for dev in $raiddevices; do cp -a /dev/${dev} $MNTIMAGE/dev + emit "raidautorun /dev/${dev}" done - inst /sbin/mdassemble "$MNTIMAGE/sbin/mdassemble" - mkdir -p $MNTIMAGE/etc - echo DEVICE partitions > $MNTIMAGE/etc/mdadm.conf - mdadm --examine --scan --config $MNTIMAGE/etc/mdadm.conf | \ - sed -r \ - -e '/^ +devices=/d' \ - -e 's/ num-devices=[0-9]+//' >> $MNTIMAGE/etc/mdadm.conf - emit "/sbin/mdassemble" fi if [ -n "$vg_list" ]; then