/[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.3 - (hide annotations) (download)
Thu Dec 20 18:36:32 2007 UTC (16 years, 9 months ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.2: +0 -0 lines
FILE REMOVED
No longer needed

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 slords 1.2 @@ -1347,8 +1347,15 @@
4 slords 1.1 if [ -n "$raiddevices" ]; then
5     for dev in $raiddevices; do
6     cp -a /dev/${dev} $MNTIMAGE/dev
7 slords 1.2 - emit "raidautorun /dev/${dev}"
8 slords 1.1 done
9 slords 1.2 + inst /sbin/mdassemble.static "$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 slords 1.1 fi
18    
19     if [ -n "$vg_list" ]; then

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