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
commit1385b95fab09ce9ca7e50ad580b4fbb2819a0390 (patch)
tree4fb5043e7a3b0e38b4e07242c61089c6f2833e23 /eclass/linux-info.eclass
parentUse proper kernel_is function to compare properly including the 4 argument of... (diff)
downloadhistorical-1385b95fab09ce9ca7e50ad580b4fbb2819a0390.tar.gz
historical-1385b95fab09ce9ca7e50ad580b4fbb2819a0390.tar.bz2
historical-1385b95fab09ce9ca7e50ad580b4fbb2819a0390.zip
Bug 28330: Fix two instances where we want any version, not just the sources version.
Diffstat (limited to 'eclass/linux-info.eclass')
-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 "~".