1 |
robbat2 08/06/20 23:57:19 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: multipath-tools-0.4.8.ebuild |
5 |
Log: |
6 |
Make multipath-tools work for early boot environments for both baselayout1 and baselayout2. Please read the postinst output if multipath is critical to your environment! |
7 |
(Portage version: 2.2_pre8/cvs/Linux 2.6.26-rc4-00103-g1beee8d x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.17 sys-fs/multipath-tools/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/multipath-tools/ChangeLog?rev=1.17&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/multipath-tools/ChangeLog?rev=1.17&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/multipath-tools/ChangeLog?r1=1.16&r2=1.17 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v |
19 |
retrieving revision 1.16 |
20 |
retrieving revision 1.17 |
21 |
diff -p -w -b -B -u -u -r1.16 -r1.17 |
22 |
--- ChangeLog 2 Feb 2008 06:09:46 -0000 1.16 |
23 |
+++ ChangeLog 20 Jun 2008 23:57:18 -0000 1.17 |
24 |
@@ -1,6 +1,16 @@ |
25 |
# ChangeLog for sys-fs/multipath-tools |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.16 2008/02/02 06:09:46 opfer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/ChangeLog,v 1.17 2008/06/20 23:57:18 robbat2 Exp $ |
29 |
+ |
30 |
+*multipath-tools-0.4.8 (20 Jun 2008) |
31 |
+ |
32 |
+ 20 Jun 2008; Robin H. Johnson <robbat2@g.o> |
33 |
+ +files/multipath-tools-0.4.8-build.patch, +files/init.d-multipath, |
34 |
+ +files/multipath-start.sh, +files/multipath-stop.sh, |
35 |
+ +multipath-tools-0.4.8.ebuild: |
36 |
+ Make multipath-tools work for early boot environments for both baselayout1 |
37 |
+ and baselayout2. Please read the postinst output if multipath is critical |
38 |
+ to your environment! |
39 |
|
40 |
02 Feb 2008; Christian Faulhammer <opfer@g.o> |
41 |
multipath-tools-0.4.7-r2.ebuild: |
42 |
|
43 |
|
44 |
|
45 |
1.1 sys-fs/multipath-tools/multipath-tools-0.4.8.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.8.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.8.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: multipath-tools-0.4.8.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2008 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/sys-fs/multipath-tools/multipath-tools-0.4.8.ebuild,v 1.1 2008/06/20 23:57:18 robbat2 Exp $ |
55 |
|
56 |
inherit eutils toolchain-funcs |
57 |
|
58 |
DESCRIPTION="Device mapper target autoconfig" |
59 |
HOMEPAGE="http://christophe.varoqui.free.fr/" |
60 |
SRC_URI="http://christophe.varoqui.free.fr/${PN}/${P}.tar.bz2" |
61 |
|
62 |
LICENSE="GPL-2" |
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~x86" |
65 |
IUSE="" |
66 |
|
67 |
RDEPEND=">=sys-fs/device-mapper-1.00.19-r1 |
68 |
sys-fs/udev |
69 |
sys-fs/sysfsutils" |
70 |
DEPEND="${RDEPEND}" |
71 |
|
72 |
src_unpack() { |
73 |
unpack ${A} |
74 |
cd "${S}" |
75 |
epatch "${FILESDIR}"/${PN}-0.4.8-build.patch |
76 |
# Merged together |
77 |
#epatch "${FILESDIR}"/${PN}-0.4.7-udev-rules.patch |
78 |
} |
79 |
|
80 |
src_compile() { |
81 |
emake -j1 CC="$(tc-getCC)" || die "emake failed" |
82 |
} |
83 |
|
84 |
src_install() { |
85 |
dodir /sbin /usr/share/man/man8 |
86 |
make DESTDIR="${D}" install || die "install failed" |
87 |
|
88 |
insinto /etc |
89 |
newins "${S}"/multipath.conf.annotated multipath.conf |
90 |
fperms 644 /etc/udev/rules.d/65-multipath.rules |
91 |
fperms 644 /etc/udev/rules.d/66-kpartx.rules |
92 |
# This is the monitoring daemon |
93 |
newinitd "${FILESDIR}"/rc-multipathd multipathd |
94 |
# This is the init script that fires the multipath addon for baselayout2 |
95 |
newinitd "${FILESDIR}"/init.d-multipath multipath |
96 |
# Handle early-boot startup as well as shutdown of multipath devices |
97 |
insinto /lib/rcscripts/addons |
98 |
doins "${FILESDIR}"/multipath-start.sh |
99 |
doins "${FILESDIR}"/multipath-stop.sh |
100 |
|
101 |
dodoc multipath.conf.* |
102 |
dodoc AUTHOR ChangeLog FAQ README TODO |
103 |
docinto kpartx; dodoc kpartx/ChangeLog kpartx/README |
104 |
} |
105 |
|
106 |
pkg_preinst() { |
107 |
# The dev.d script was previously wrong and is now removed (the udev rules |
108 |
# file does the job instead), but it won't be removed from live systems due |
109 |
# to cfgprotect. |
110 |
# This should help out a little... |
111 |
if [[ -e ${ROOT}/etc/dev.d/block/multipath.dev ]] ; then |
112 |
mkdir -p "${D}"/etc/dev.d/block |
113 |
echo "# Please delete this file. It is obsoleted by /etc/udev/rules.d/65-multipath.rules" \ |
114 |
> "${D}"/etc/dev.d/block/multipath.dev |
115 |
fi |
116 |
} |
117 |
pkg_postinst() { |
118 |
elog "If you need multipath on your system, you should ensure that a" |
119 |
elog "'multipath' entry is present in your RC_VOLUME_ORDER variable!" |
120 |
elog "If you use baselayout2, you must add 'multipath' into" |
121 |
elog "your boot runlevel!" |
122 |
} |
123 |
|
124 |
|
125 |
|
126 |
-- |
127 |
gentoo-commits@l.g.o mailing list |