summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2009-09-06 23:40:48 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2009-09-06 23:40:48 +0000
commitc0f8faaf7c2499781fdf168ca677b514e2657940 (patch)
tree084334a8b7c5a34414ef32050a878e190d9f54fd
parentUse proper kernel_is function to compare properly including the 4 argument of... (diff)
downloadgentoo-2-c0f8faaf7c2499781fdf168ca677b514e2657940.tar.gz
gentoo-2-c0f8faaf7c2499781fdf168ca677b514e2657940.tar.bz2
gentoo-2-c0f8faaf7c2499781fdf168ca677b514e2657940.zip
Bug 28330: Fix two instances where we want any version, not just the sources version.
-rw-r--r--eclass/linux-info.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index 168bb81bb479..46048d6fa6db 100644
--- a/eclass/linux-info.eclass
+++ b/eclass/linux-info.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.68 2009/09/06 23:36:04 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.69 2009/09/06 23:40:48 robbat2 Exp $
#
# Original author: John Mylchreest <johnm@gentoo.org>
# Maintainer: kernel-misc@gentoo.org
@@ -354,7 +354,8 @@ linux_chkconfig_string() {
kernel_is() {
# if we haven't determined the version yet, we need to.
- get_version
+ linux-info_get_any_version
+
local operator test value x=0 y=0 z=0
case ${1} in
@@ -625,7 +626,7 @@ check_extra_config() {
local soft_errors_count=0 hard_errors_count=0 config_required=0
# if we haven't determined the version yet, we need to
- get_version
+ linux-mod_get_any_version
# Determine if we really need a .config. The only time when we don't need
# one is when all of the CONFIG_CHECK options are prefixed with "~".