diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2006-10-15 10:55:19 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2006-10-15 10:55:19 +0000 |
commit | 6f2eb8bb574a0ad35376c02641f9eb484bb2a4fa (patch) | |
tree | fa9809e0531c3191e8d03b095beabf3e6f9e855d /sys-cluster | |
parent | Removed check_KV. (diff) | |
download | historical-6f2eb8bb574a0ad35376c02641f9eb484bb2a4fa.tar.gz historical-6f2eb8bb574a0ad35376c02641f9eb484bb2a4fa.tar.bz2 historical-6f2eb8bb574a0ad35376c02641f9eb484bb2a4fa.zip |
Ebuild cleanup, removed check_KV.
Package-Manager: portage-2.1-r1
Diffstat (limited to 'sys-cluster')
-rw-r--r-- | sys-cluster/dlm-kernel/ChangeLog | 7 | ||||
-rw-r--r-- | sys-cluster/dlm-kernel/dlm-kernel-1.02.00-r1.ebuild | 19 | ||||
-rw-r--r-- | sys-cluster/dlm-kernel/dlm-kernel-1.03.00.ebuild | 11 |
3 files changed, 20 insertions, 17 deletions
diff --git a/sys-cluster/dlm-kernel/ChangeLog b/sys-cluster/dlm-kernel/ChangeLog index 9bc964156265..9679dd5e5728 100644 --- a/sys-cluster/dlm-kernel/ChangeLog +++ b/sys-cluster/dlm-kernel/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-cluster/dlm-kernel # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm-kernel/ChangeLog,v 1.22 2006/10/14 17:30:09 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm-kernel/ChangeLog,v 1.23 2006/10/15 10:55:19 xmerlin Exp $ + + 15 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org> + -dlm-kernel-1.01.00.ebuild, -dlm-kernel-1.02.00.ebuild, + dlm-kernel-1.02.00-r1.ebuild, dlm-kernel-1.03.00.ebuild: + Ebuild cleanup, removed check_KV. 14 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org> dlm-kernel-1.01.00.ebuild, dlm-kernel-1.02.00.ebuild, diff --git a/sys-cluster/dlm-kernel/dlm-kernel-1.02.00-r1.ebuild b/sys-cluster/dlm-kernel/dlm-kernel-1.02.00-r1.ebuild index aa13de220b6d..5c95127c35ab 100644 --- a/sys-cluster/dlm-kernel/dlm-kernel-1.02.00-r1.ebuild +++ b/sys-cluster/dlm-kernel/dlm-kernel-1.02.00-r1.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm-kernel/dlm-kernel-1.02.00-r1.ebuild,v 1.5 2006/10/14 17:30:09 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm-kernel/dlm-kernel-1.02.00-r1.ebuild,v 1.6 2006/10/15 10:55:19 xmerlin Exp $ -inherit eutils linux-mod +inherit eutils linux-mod linux-info CVS_RELEASE="20060714" MY_P="cluster-${PV}" @@ -28,20 +28,19 @@ RDEPEND="" S="${WORKDIR}/${MY_P}/${PN}" +pkg_setup() { + linux-mod_pkg_setup + case ${KV_FULL} in + 2.2.*|2.4.*) die "${P} supports only 2.6 kernels";; + esac +} + src_unpack() { unpack ${A} cd ${S} epatch ${WORKDIR}/${PN}-${PV}-${CVS_RELEASE}-cvs.patch || die } -pkg_setup() { - linux-mod_pkg_setup - - if kernel_is 2 4; then - die "${P} supports only 2.6 kernels" - fi -} - src_compile() { check_KV set_arch_to_kernel diff --git a/sys-cluster/dlm-kernel/dlm-kernel-1.03.00.ebuild b/sys-cluster/dlm-kernel/dlm-kernel-1.03.00.ebuild index 8966ab08ad11..c0745f3ea803 100644 --- a/sys-cluster/dlm-kernel/dlm-kernel-1.03.00.ebuild +++ b/sys-cluster/dlm-kernel/dlm-kernel-1.03.00.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm-kernel/dlm-kernel-1.03.00.ebuild,v 1.2 2006/10/14 17:30:09 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/dlm-kernel/dlm-kernel-1.03.00.ebuild,v 1.3 2006/10/15 10:55:19 xmerlin Exp $ -inherit eutils linux-mod +inherit eutils linux-mod linux-info MY_P="cluster-${PV}" @@ -27,10 +27,9 @@ S="${WORKDIR}/${MY_P}/${PN}" pkg_setup() { linux-mod_pkg_setup - - if kernel_is 2 4; then - die "${P} supports only 2.6 kernels" - fi + case ${KV_FULL} in + 2.2.*|2.4.*) die "${P} supports only 2.6 kernels";; + esac } src_compile() { |