diff options
author | Peter Johanson <latexer@gentoo.org> | 2004-10-13 01:06:10 +0000 |
---|---|---|
committer | Peter Johanson <latexer@gentoo.org> | 2004-10-13 01:06:10 +0000 |
commit | 619e283876aea1259720b4ae848f430c3d40c7c6 (patch) | |
tree | ba5c44807d3ac43b08a5394e1492d6a9b9b7f56d /sys-fs/submount | |
parent | Revision bump to not use kmod.eclass and config-kernel. (Manifest recommit) (diff) | |
download | gentoo-2-619e283876aea1259720b4ae848f430c3d40c7c6.tar.gz gentoo-2-619e283876aea1259720b4ae848f430c3d40c7c6.tar.bz2 gentoo-2-619e283876aea1259720b4ae848f430c3d40c7c6.zip |
Small logic fix for 2.4 kernels to work.
Diffstat (limited to 'sys-fs/submount')
-rw-r--r-- | sys-fs/submount/ChangeLog | 5 | ||||
-rw-r--r-- | sys-fs/submount/submount-0.9-r1.ebuild | 17 |
2 files changed, 14 insertions, 8 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/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 } |