summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Johanson <latexer@gentoo.org>2004-10-13 01:06:10 +0000
committerPeter Johanson <latexer@gentoo.org>2004-10-13 01:06:10 +0000
commit4f59b42496b7ef71898ef5f93e382b526857d345 (patch)
treeb865b40b7561da94201a208fec2cd1136d7e11ca /sys-fs/submount
parentRevision bump to not use kmod.eclass and config-kernel. (diff)
downloadhistorical-4f59b42496b7ef71898ef5f93e382b526857d345.tar.gz
historical-4f59b42496b7ef71898ef5f93e382b526857d345.tar.bz2
historical-4f59b42496b7ef71898ef5f93e382b526857d345.zip
Small logic fix for 2.4 kernels to work.
Diffstat (limited to 'sys-fs/submount')
-rw-r--r--sys-fs/submount/ChangeLog5
-rw-r--r--sys-fs/submount/Manifest4
-rw-r--r--sys-fs/submount/submount-0.9-r1.ebuild17
3 files changed, 16 insertions, 10 deletions
diff --git a/sys-fs/submount/ChangeLog b/sys-fs/submount/ChangeLog
index dec5dbf234f6..0ed28e6eb99e 100644
--- a/sys-fs/submount/ChangeLog
+++ b/sys-fs/submount/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for sys-fs/submount
# Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/submount/ChangeLog,v 1.7 2004/10/13 00:51:10 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/submount/ChangeLog,v 1.8 2004/10/13 01:06:10 latexer Exp $
+
+ 12 Oct 2004; <peter@gentoo.org> submount-0.9-r1.ebuild:
+ Small logic fix to not fail if using a 2.4 kernel.
*submount-0.9-r1 (12 Oct 2004)
diff --git a/sys-fs/submount/Manifest b/sys-fs/submount/Manifest
index f34b6c2b06ae..45ec6aa470e7 100644
--- a/sys-fs/submount/Manifest
+++ b/sys-fs/submount/Manifest
@@ -1,6 +1,6 @@
MD5 6097e401c04aa5d24eccd4a88d52d623 submount-0.9.ebuild 1375
-MD5 0c2bfdc5b0b668ba9bfbbc6534806821 submount-0.9-r1.ebuild 1739
-MD5 a1f08696d103c0df6a4515b831c379fb ChangeLog 979
+MD5 a7281f8ef216fedb2c6f81f0dd72485c submount-0.9-r1.ebuild 1758
+MD5 5fadbb689590444f2e7106b8287a4173 ChangeLog 1091
MD5 c3aedbfe00ee1a825a9d5760b4b4271e metadata.xml 316
MD5 f4303204067c19d5a000a8b0eac1213c files/digest-submount-0.9-r1 63
MD5 f4303204067c19d5a000a8b0eac1213c files/digest-submount-0.9 63
diff --git a/sys-fs/submount/submount-0.9-r1.ebuild b/sys-fs/submount/submount-0.9-r1.ebuild
index da113f28b5b0..a5f3391fc0c7 100644
--- a/sys-fs/submount/submount-0.9-r1.ebuild
+++ b/sys-fs/submount/submount-0.9-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-fs/submount/submount-0.9-r1.ebuild,v 1.1 2004/10/13 00:51:10 latexer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-fs/submount/submount-0.9-r1.ebuild,v 1.2 2004/10/13 01:06:10 latexer Exp $
inherit eutils kernel-mod
@@ -36,13 +36,16 @@ src_unpack()
cd ${S}
kernel-mod_getversion
- if [ "${KV_MINOR}" -gt 5 ] && [ "${KV_PATCH}" -gt 5 ]
+ if [ "${KV_MINOR}" -gt 5 ]
then
- sed -i "s:SUBDIRS=:M=:" \
- ${S}/subfs${EXTRA_V}-${PV}/Makefile
- else
- eerror "This version of submount requires a kernel of 2.6.6 or greater"
- die "Too old of a kernel found."
+ if [ "${KV_PATCH}" -gt 5 ]
+ then
+ sed -i "s:SUBDIRS=:M=:" \
+ ${S}/subfs${EXTRA_V}-${PV}/Makefile
+ else
+ eerror "This version of submount requires a kernel of 2.6.6 or greater"
+ die "Too old of a kernel found."
+ fi
fi
}