/[smeserver]/rpms/mkinitrd/sme8/mkinitrd-5.1.19.6-mdassemble.patch
ViewVC logotype

Annotation of /rpms/mkinitrd/sme8/mkinitrd-5.1.19.6-mdassemble.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Thu Dec 20 16:43:42 2007 UTC (16 years, 6 months ago) by slords
Branch: MAIN
SME patches

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

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed