/[smeserver]/rpms/mkinitrd/sme7/mkinitrd-4.2.1.13-mdassemble.patch
ViewVC logotype

Annotation of /rpms/mkinitrd/sme7/mkinitrd-4.2.1.13-mdassemble.patch

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


Revision 1.2 - (hide annotations) (download)
Mon Aug 24 14:52:58 2009 UTC (15 years, 3 months ago) by slords
Branch: MAIN
Changes since 1.1: +0 -0 lines
FILE REMOVED
Import CentOS 4.8 sources

1 slords 1.1 diff -Nur -x '*.orig' -x '*.rej' mkinitrd-4.2.1.10/mkinitrd mezzanine_patched_mkinitrd-4.2.1.10/mkinitrd
2     --- mkinitrd-4.2.1.10/mkinitrd 2007-01-31 13:45:09.000000000 -0700
3     +++ mezzanine_patched_mkinitrd-4.2.1.10/mkinitrd 2007-05-09 22:02:18.000000000 -0600
4     @@ -740,9 +740,16 @@
5    
6     if [ -n "$startraid" ]; then
7     for dev in $raiddevices; do
8     - cp -a /dev/${dev} $MNTIMAGE/dev
9     - echo "raidautorun /dev/${dev}" >> $RCFILE
10     + echo mknod /dev/${dev} b 9 $(echo $dev | sed s/md//) >> $RCFILE
11     done
12     + cp -a /sbin/mdassemble $MNTIMAGE/sbin
13     + mkdir -p $MNTIMAGE/etc
14     + echo DEVICE partitions > $MNTIMAGE/etc/mdadm.conf
15     + mdadm --examine --scan --config $MNTIMAGE/etc/mdadm.conf | \
16     + sed -r \
17     + -e '/^ +devices=/d' \
18     + -e 's/ num-devices=[0-9]+//' >> $MNTIMAGE/etc/mdadm.conf
19     + echo "/sbin/mdassemble" >> $RCFILE
20     fi
21    
22     if [ -z "$USE_UDEV" ]; then

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