summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2012-06-26 00:06:14 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2012-06-26 00:06:14 +0000
commitceb050110813647ab9c0a60b2b8e6b75b5f83abc (patch)
tree2611547cc43eb541bed9d435cbdaa43a57874778 /eclass/linux-info.eclass
parentmarked x86 per bug 421939 (diff)
downloadgentoo-2-ceb050110813647ab9c0a60b2b8e6b75b5f83abc.tar.gz
gentoo-2-ceb050110813647ab9c0a60b2b8e6b75b5f83abc.tar.bz2
gentoo-2-ceb050110813647ab9c0a60b2b8e6b75b5f83abc.zip
You must ensure at least one of the version setup functions gets called in linux-info.eclass before you can use the config functions.
Diffstat (limited to 'eclass/linux-info.eclass')
-rw-r--r--eclass/linux-info.eclass12
1 files changed, 10 insertions, 2 deletions
diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass
index bbb854e24334..a4355056a40b 100644
--- a/eclass/linux-info.eclass
+++ b/eclass/linux-info.eclass
@@ -1,6 +1,6 @@
-# Copyright 1999-2011 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.91 2011/12/12 22:01:37 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.92 2012/06/26 00:06:14 robbat2 Exp $
# @ECLASS: linux-info.eclass
# @MAINTAINER:
@@ -18,6 +18,14 @@
# "kernel config" in this file means:
# The .config of the currently installed sources is used as the first
# preference, with a fall-back to bundled config (/proc/config.gz) if available.
+#
+# Before using any of the config-handling functions in this eclass, you must
+# ensure that one of the following functions has been called (in order of
+# preference), otherwise you will get bugs like #364041):
+# linux-info_pkg_setup
+# linux-info_get_any_version
+# get_version
+# get_running_version
# A Couple of env vars are available to effect usage of this eclass
# These are as follows: