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

Contents 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.1 - (show annotations) (download)
Sat Dec 1 02:32:17 2007 UTC (17 years ago) by slords
Branch: MAIN
CVS Tags: mkinitrd-4_2_1_13-1_1_el4_sme
Import on branch sme7 of package mkinitrd-4.2.1.13-1.1.el4.sme.src.rpm

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