summaryrefslogtreecommitdiff
path: root/eclass
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
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')
-rw-r--r--eclass/ChangeLog6
-rw-r--r--eclass/linux-info.eclass12
2 files changed, 15 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 3c6ac2d3424f..d2c41dfceba7 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for eclass directory
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.329 2012/06/24 17:52:38 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.330 2012/06/26 00:06:14 robbat2 Exp $
+
+ 26 Jun 2012; Robin H. Johnson <robbat2@gentoo.org> linux-info.eclass:
+ You must ensure at least one of the version setup functions gets called in
+ linux-info.eclass before you can use the config functions.
24 Jun 2012; Michael Pagano <mpagano@gentoo.org> kernel-2.eclass:
Add dev-lang/perl to kernel-2.eclass RDEPEND. Bug #421483
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: