summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexys Jacob <ultrabug@gentoo.org>2011-02-18 11:40:12 +0000
committerAlexys Jacob <ultrabug@gentoo.org>2011-02-18 11:40:12 +0000
commit49b1138a80a64b58a1156e6854c36d69994bd5dd (patch)
treefc4e2e304638e517b946829d7eaf861e00e8f5ff /sys-cluster
parentUnmask www-client/chromium and dev-lang/v8 beta channel releases. (diff)
downloadgentoo-2-49b1138a80a64b58a1156e6854c36d69994bd5dd.tar.gz
gentoo-2-49b1138a80a64b58a1156e6854c36d69994bd5dd.tar.bz2
gentoo-2-49b1138a80a64b58a1156e6854c36d69994bd5dd.zip
Add kernel >=2.6.33 blocker
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/drbd-kernel/ChangeLog7
-rw-r--r--sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild9
2 files changed, 12 insertions, 4 deletions
diff --git a/sys-cluster/drbd-kernel/ChangeLog b/sys-cluster/drbd-kernel/ChangeLog
index cddd9ea218b8..9fc8413a0405 100644
--- a/sys-cluster/drbd-kernel/ChangeLog
+++ b/sys-cluster/drbd-kernel/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-cluster/drbd-kernel
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/ChangeLog,v 1.25 2010/09/11 14:21:31 scarabeus Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/ChangeLog,v 1.26 2011/02/18 11:40:12 ultrabug Exp $
+
+ 18 Feb 2011; Ultrabug <ultrabug@gentoo.org> drbd-kernel-8.3.8.1.ebuild:
+ Add kernel >=2.6.33 blocker
11 Sep 2010; Tomáš Chvátal <scarabeus@gentoo.org> metadata.xml:
Drop useles maintainer line
diff --git a/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild b/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild
index 7f4184d129ff..e61f4faf500a 100644
--- a/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild
+++ b/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2010 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild,v 1.1 2010/08/25 16:35:34 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-cluster/drbd-kernel/drbd-kernel-8.3.8.1.ebuild,v 1.2 2011/02/18 11:40:12 ultrabug Exp $
EAPI="2"
@@ -27,6 +27,11 @@ S=${WORKDIR}/${MY_P}
pkg_setup() {
if ! kernel_is 2 6; then
die "Unsupported kernel, drbd-${PV} needs kernel 2.6.x ."
+ elif [ ${KV_PATCH} -ge 33 ]; then
+ ewarn "Your kernel (${KV_FULL}) is too new to use this package."
+ ewarn "The DRBD module has been merged into kernel >= 2.6.33."
+ ewarn "Please compile the DRBD module from your current kernel."
+ die "${PN} is obsolete with kernel >= 2.6.33."
fi
MODULE_NAMES="drbd(block:${S}/drbd)"