summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJoe Peterson <lavajoe@gentoo.org>2009-02-24 05:41:09 +0000
committerJoe Peterson <lavajoe@gentoo.org>2009-02-24 05:41:09 +0000
commit9f6ec1e6d800bf632ee8136e93e4d3c94e7bb11c (patch)
tree62daa4a4ed159926f7afe03e01d751865ce5aaee /sys-fs
parentAdd sys-kernel/hardened-sources-2.6.27-r8 release (diff)
downloadgentoo-2-9f6ec1e6d800bf632ee8136e93e4d3c94e7bb11c.tar.gz
gentoo-2-9f6ec1e6d800bf632ee8136e93e4d3c94e7bb11c.tar.bz2
gentoo-2-9f6ec1e6d800bf632ee8136e93e4d3c94e7bb11c.zip
Do not allow 0.16 to build on kernels beyond 2.6.27; bug #259341
(Portage version: 2.1.6.7/cvs/Linux i686)
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/btrfs/ChangeLog7
-rw-r--r--sys-fs/btrfs/btrfs-0.16-r2.ebuild9
2 files changed, 12 insertions, 4 deletions
diff --git a/sys-fs/btrfs/ChangeLog b/sys-fs/btrfs/ChangeLog
index b07e2a830a97..c65f3e2e34ab 100644
--- a/sys-fs/btrfs/ChangeLog
+++ b/sys-fs/btrfs/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/btrfs
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs/ChangeLog,v 1.17 2008/12/12 09:58:53 lavajoe Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs/ChangeLog,v 1.18 2009/02/24 05:41:09 lavajoe Exp $
+
+ 24 Feb 2009; Joe Peterson <lavajoe@gentoo.org> btrfs-0.16-r2.ebuild:
+ Do not allow 0.16 to build on kernels beyond 2.6.27; bug #259341
12 Dec 2008; Joe Peterson <lavajoe@gentoo.org> ChangeLog:
Do not install TODO file in line ebuild
diff --git a/sys-fs/btrfs/btrfs-0.16-r2.ebuild b/sys-fs/btrfs/btrfs-0.16-r2.ebuild
index 80414bd15242..ab0bf7e59f0b 100644
--- a/sys-fs/btrfs/btrfs-0.16-r2.ebuild
+++ b/sys-fs/btrfs/btrfs-0.16-r2.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs/btrfs-0.16-r2.ebuild,v 1.2 2008/11/27 18:41:54 lavajoe Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/btrfs/btrfs-0.16-r2.ebuild,v 1.3 2009/02/24 05:41:09 lavajoe Exp $
inherit eutils linux-mod
@@ -30,6 +30,11 @@ pkg_setup()
die "Need a 2.6 kernel to compile against!"
fi
+ if kernel_is gt 2 6 27; then
+ eerror "Not compatible with kernels beyond 2.6.27 - use in-kernel version!"
+ die "Not compatible with kernels beyond 2.6.27 - use in-kernel version!"
+ fi
+
if ! linux_chkconfig_present LIBCRC32C; then
eerror "You need to enable LIBCRC32C in your kernel!"
die "You need to enable LIBCRC32C in your kernel!"