From: | "Mike Frysinger (vapier)" <vapier@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in sys-fs/mdadm/files: mdadm-3.0-dont-make-man.patch raid-start.sh-3.0 |
Date: | Sun, 23 Aug 2009 11:19:41 |
Message-Id: | E1MfB6o-0000MR-Ln@stork.gentoo.org |
1 | vapier 09/08/23 11:19:38 |
2 | |
3 | Added: mdadm-3.0-dont-make-man.patch raid-start.sh-3.0 |
4 | Log: |
5 | Version bump #274444 by Michael Evans. Stop creating devices nodes ourselves in boot hook #266724 by Sven E. |
6 | (Portage version: 2.2_rc38/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 sys-fs/mdadm/files/mdadm-3.0-dont-make-man.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mdadm/files/mdadm-3.0-dont-make-man.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mdadm/files/mdadm-3.0-dont-make-man.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: mdadm-3.0-dont-make-man.patch |
15 | =================================================================== |
16 | The .man files are never installed so there's no point in |
17 | generating them, especially since the source manpages are |
18 | installed. |
19 | |
20 | --- mdadm-3.0/Makefile |
21 | +++ mdadm-3.0/Makefile |
22 | @@ -69,3 +69,3 @@ |
23 | |
24 | -all : mdadm mdmon mdadm.man md.man mdadm.conf.man mdmon.man |
25 | +all : mdadm mdmon |
26 | |
27 | |
28 | |
29 | |
30 | 1.1 sys-fs/mdadm/files/raid-start.sh-3.0 |
31 | |
32 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mdadm/files/raid-start.sh-3.0?rev=1.1&view=markup |
33 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/mdadm/files/raid-start.sh-3.0?rev=1.1&content-type=text/plain |
34 | |
35 | Index: raid-start.sh-3.0 |
36 | =================================================================== |
37 | # /lib/rcscripts/addons/raid-start.sh: Setup raid volumes at boot |
38 | # Copyright 1999-2009 Gentoo Foundation |
39 | # Distributed under the terms of the GNU General Public License v2 |
40 | # $Header: /var/cvsroot/gentoo-x86/sys-fs/mdadm/files/raid-start.sh-3.0,v 1.1 2009/08/23 11:19:38 vapier Exp $ |
41 | |
42 | [ -f /proc/mdstat ] || exit 0 |
43 | |
44 | # Start software raid with mdadm (new school) |
45 | mdadm_conf="/etc/mdadm/mdadm.conf" |
46 | [ -e /etc/mdadm.conf ] && mdadm_conf="/etc/mdadm.conf" |
47 | if [ -x /sbin/mdadm -a -f "${mdadm_conf}" ] ; then |
48 | devs=$(awk '/^[[:space:]]*ARRAY/ { print $2 }' "${mdadm_conf}") |
49 | if [ -n "${devs}" ]; then |
50 | ebegin "Starting up RAID devices" |
51 | output=$(mdadm -As 2>&1) |
52 | ret=$? |
53 | [ ${ret} -ne 0 ] && echo "${output}" |
54 | eend ${ret} |
55 | fi |
56 | fi |
57 | |
58 | partitioned_devs=$(ls /dev/md_d* 2>/dev/null) |
59 | if [ -n "${partitioned_devs}" ]; then |
60 | ebegin "Creating RAID device partitions" |
61 | /sbin/blockdev ${partitioned_devs} |
62 | eend 0 |
63 | # wait because vgscan runs next, and we want udev to fire |
64 | sleep 1 |
65 | fi |
66 | |
67 | # vim:ts=4 |