diff options
author | 2008-04-22 17:29:21 +0000 | |
---|---|---|
committer | 2008-04-22 17:29:21 +0000 | |
commit | 85a5ed2ddd44a0c2c7e2daad359e1ae3a6bdc2a2 (patch) | |
tree | 636a612754837306b8facae440ab02b9e8ba0d1d /sys-fs/aufs/aufs-20080207-r1.ebuild | |
parent | dev-lang/vala: Version bump. (diff) | |
download | sunrise-85a5ed2ddd44a0c2c7e2daad359e1ae3a6bdc2a2.tar.gz sunrise-85a5ed2ddd44a0c2c7e2daad359e1ae3a6bdc2a2.tar.bz2 sunrise-85a5ed2ddd44a0c2c7e2daad359e1ae3a6bdc2a2.zip |
sys-fs/aufs: Add check and die for kernel >=2.6.25 for now (bug 218820)
svn path=/sunrise/; revision=6087
Diffstat (limited to 'sys-fs/aufs/aufs-20080207-r1.ebuild')
-rw-r--r-- | sys-fs/aufs/aufs-20080207-r1.ebuild | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-fs/aufs/aufs-20080207-r1.ebuild b/sys-fs/aufs/aufs-20080207-r1.ebuild index e665ec639..2c15f9575 100644 --- a/sys-fs/aufs/aufs-20080207-r1.ebuild +++ b/sys-fs/aufs/aufs-20080207-r1.ebuild @@ -25,6 +25,13 @@ pkg_setup() { die "Wrong kernel version" fi + # kernel version check + if kernel_is ge 2 6 25 ; then + eerror "Version ${PV} of ${PN} is not supported on linux-2.6.25 and later." + eerror "Please install <linux-2.6.25 in order to install this package." + die "Wrong kernel version" + fi + linux-mod_pkg_setup } |