summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-05-27 03:07:46 +0000
committerMike Frysinger <vapier@gentoo.org>2005-05-27 03:07:46 +0000
commit4484623ec9ae6c78d7bd625c27ccd20d144d3572 (patch)
tree5cf782a40e4283cc13e8beac6b294ee373889ff0 /sys-fs
parentUSE=mad -> USE=mp3 #94045 (diff)
downloadgentoo-2-4484623ec9ae6c78d7bd625c27ccd20d144d3572.tar.gz
gentoo-2-4484623ec9ae6c78d7bd625c27ccd20d144d3572.tar.bz2
gentoo-2-4484623ec9ae6c78d7bd625c27ccd20d144d3572.zip
Add basic evms2 start addon #50711 by Asbjorn Sannes.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/evms/ChangeLog8
-rw-r--r--sys-fs/evms/evms-2.5.2.ebuild7
-rw-r--r--sys-fs/evms/files/evms2-start.sh11
3 files changed, 22 insertions, 4 deletions
diff --git a/sys-fs/evms/ChangeLog b/sys-fs/evms/ChangeLog
index 0b17194ede27..dd95a1adccc5 100644
--- a/sys-fs/evms/ChangeLog
+++ b/sys-fs/evms/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-fs/evms
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/ChangeLog,v 1.31 2005/04/12 23:22:05 eradicator Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/ChangeLog,v 1.32 2005/05/27 03:07:46 vapier Exp $
+
+ 27 May 2005; Mike Frysinger <vapier@gentoo.org> +files/evms2-start.sh,
+ evms-2.5.2.ebuild:
+ Add basic evms2 start addon #50711 by Asbjorn Sannes.
12 Apr 2005; Jeremy Huddleston <eradicator@gentoo.org> metadata.xml,
-evms-2.3.4-r1.ebuild:
diff --git a/sys-fs/evms/evms-2.5.2.ebuild b/sys-fs/evms/evms-2.5.2.ebuild
index 11072961b204..8ae66228805c 100644
--- a/sys-fs/evms/evms-2.5.2.ebuild
+++ b/sys-fs/evms/evms-2.5.2.ebuild
@@ -1,8 +1,8 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/evms-2.5.2.ebuild,v 1.3 2005/03/28 11:48:25 dholm Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/evms-2.5.2.ebuild,v 1.4 2005/05/27 03:07:46 vapier Exp $
-inherit eutils flag-o-matic
+inherit eutils flag-o-matic multilib
DESCRIPTION="Utilities for the IBM Enterprise Volume Management System"
HOMEPAGE="http://www.sourceforge.net/projects/evms"
@@ -44,6 +44,9 @@ src_install() {
make DESTDIR="${D}" install || die "Make install died"
dodoc ChangeLog INSTALL* PLUGIN.IDS README TERMINOLOGY doc/linuxrc
+ insinto /$(get_libdir)/rcscripts/addons
+ newins "${FILESDIR}"/evms2-start.sh evms-start.sh || die "rcscript addon failed"
+
# install the sample configuration into the doc dir
dodoc ${D}/etc/evms.conf.sample
rm -f ${D}/etc/evms.conf.sample
diff --git a/sys-fs/evms/files/evms2-start.sh b/sys-fs/evms/files/evms2-start.sh
new file mode 100644
index 000000000000..022e57fafdf2
--- /dev/null
+++ b/sys-fs/evms/files/evms2-start.sh
@@ -0,0 +1,11 @@
+# /lib/rcscripts/addons/evms-start.sh: Setup evms volumes at boot
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/evms/files/evms2-start.sh,v 1.1 2005/05/27 03:07:46 vapier Exp $
+
+if [[ -z ${CDBOOT} ]] ; then
+ ebegin "Activating EVMS"
+ evms_activate
+ retval=$?
+ eend ${retval}
+fi