diff options
author | Christian Zoffoli <xmerlin@gentoo.org> | 2006-10-15 10:49:53 +0000 |
---|---|---|
committer | Christian Zoffoli <xmerlin@gentoo.org> | 2006-10-15 10:49:53 +0000 |
commit | 44d5f729d9fcb8b8728b1c855fd1c5da0aac8074 (patch) | |
tree | b91eb6d75f59338443c34ecb0383005364203759 /sys-cluster/gnbd-kernel | |
parent | Stable on ia64. (diff) | |
download | historical-44d5f729d9fcb8b8728b1c855fd1c5da0aac8074.tar.gz historical-44d5f729d9fcb8b8728b1c855fd1c5da0aac8074.tar.bz2 historical-44d5f729d9fcb8b8728b1c855fd1c5da0aac8074.zip |
Removed check_KV.
Package-Manager: portage-2.1-r1
Diffstat (limited to 'sys-cluster/gnbd-kernel')
-rw-r--r-- | sys-cluster/gnbd-kernel/ChangeLog | 6 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild | 17 | ||||
-rw-r--r-- | sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild | 11 |
3 files changed, 18 insertions, 16 deletions
diff --git a/sys-cluster/gnbd-kernel/ChangeLog b/sys-cluster/gnbd-kernel/ChangeLog index d1b4154ff7fd..7b07c9cada17 100644 --- a/sys-cluster/gnbd-kernel/ChangeLog +++ b/sys-cluster/gnbd-kernel/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-cluster/gnbd-kernel # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/ChangeLog,v 1.17 2006/10/14 18:47:10 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/ChangeLog,v 1.18 2006/10/15 10:49:53 xmerlin Exp $ + + 15 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org> + gnbd-kernel-1.02.00-r1.ebuild, gnbd-kernel-1.03.00.ebuild: + Removed check_KV. 14 Oct 2006; Christian Zoffoli <xmerlin@gentoo.org> gnbd-kernel-1.02.00-r1.ebuild: diff --git a/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild index 5bf934191ded..55bbff79cf1d 100644 --- a/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild +++ b/sys-cluster/gnbd-kernel/gnbd-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/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild,v 1.4 2006/10/14 18:47:10 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.02.00-r1.ebuild,v 1.5 2006/10/15 10:49:53 xmerlin Exp $ -inherit linux-mod eutils +inherit eutils linux-mod linux-info CVS_RELEASE="20060713" MY_P="cluster-${PV}" @@ -26,20 +26,19 @@ RDEPEND="" S="${WORKDIR}/${MY_P}/${PN}" -src_unpack() { +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() { - 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/gnbd-kernel/gnbd-kernel-1.03.00.ebuild b/sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild index 116595edd071..7de20e9aa21c 100644 --- a/sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild +++ b/sys-cluster/gnbd-kernel/gnbd-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/gnbd-kernel/gnbd-kernel-1.03.00.ebuild,v 1.3 2006/10/14 18:24:14 xmerlin Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-cluster/gnbd-kernel/gnbd-kernel-1.03.00.ebuild,v 1.4 2006/10/15 10:49:53 xmerlin Exp $ -inherit linux-mod +inherit linux-mod linux-info MY_P="cluster-${PV}" @@ -25,10 +25,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() { |