public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog linux-info.eclass
@ 2012-06-26  0:06 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 4+ messages in thread
From: Robin H. Johnson (robbat2) @ 2012-06-26  0:06 UTC (permalink / raw
  To: gentoo-commits

robbat2     12/06/26 00:06:14

  Modified:             ChangeLog linux-info.eclass
  Log:
  You must ensure at least one of the version setup functions gets called in linux-info.eclass before you can use the config functions.

Revision  Changes    Path
1.330                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.330&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.330&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.329&r2=1.330

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.329
retrieving revision 1.330
diff -p -w -b -B -u -u -r1.329 -r1.330
--- ChangeLog	24 Jun 2012 17:52:38 -0000	1.329
+++ ChangeLog	26 Jun 2012 00:06:14 -0000	1.330
@@ -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



1.92                 eclass/linux-info.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.92&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.92&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?r1=1.91&r2=1.92

Index: linux-info.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v
retrieving revision 1.91
retrieving revision 1.92
diff -p -w -b -B -u -u -r1.91 -r1.92
--- linux-info.eclass	12 Dec 2011 22:01:37 -0000	1.91
+++ linux-info.eclass	26 Jun 2012 00:06:14 -0000	1.92
@@ -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:






^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog linux-info.eclass
@ 2012-10-22 19:00 Mike Pagano (mpagano)
  0 siblings, 0 replies; 4+ messages in thread
From: Mike Pagano (mpagano) @ 2012-10-22 19:00 UTC (permalink / raw
  To: gentoo-commits

mpagano     12/10/22 19:00:52

  Modified:             ChangeLog linux-info.eclass
  Log:
  Update for new location of version.h. Thanks to Magnus Helmersson. Bug #438876

Revision  Changes    Path
1.457                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.457&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.457&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.456&r2=1.457

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.456
retrieving revision 1.457
diff -u -r1.456 -r1.457
--- ChangeLog	22 Oct 2012 10:14:31 -0000	1.456
+++ ChangeLog	22 Oct 2012 19:00:52 -0000	1.457
@@ -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.456 2012/10/22 10:14:31 tommy Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.457 2012/10/22 19:00:52 mpagano Exp $
+
+  22 Oct 2012; Michael Pagano <mpagano@gentoo.org> linux-info.eclass:
+  Update for new location of version.h. Thanks to Magnus Helmersson. Bug
+  #438876
 
   22 Oct 2012; Thomas Sachau (Tommy[D]) <tommy@gentoo.org>
   enlightenment.eclass:



1.93                 eclass/linux-info.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.93&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.93&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?r1=1.92&r2=1.93

Index: linux-info.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v
retrieving revision 1.92
retrieving revision 1.93
diff -u -r1.92 -r1.93
--- linux-info.eclass	26 Jun 2012 00:06:14 -0000	1.92
+++ linux-info.eclass	22 Oct 2012 19:00:52 -0000	1.93
@@ -1,6 +1,6 @@
 # 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.92 2012/06/26 00:06:14 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.93 2012/10/22 19:00:52 mpagano Exp $
 
 # @ECLASS: linux-info.eclass
 # @MAINTAINER:
@@ -625,7 +625,14 @@
 	require_configured_kernel
 	get_version
 
-	if [ ! -f "${KV_OUT_DIR}/include/linux/version.h" ]
+	local versionh_path
+	if kernel_is -ge 3 7; then
+		versionh_path="include/generated/uapi/linux/version.h"
+	else
+		versionh_path="include/linux/version.h"
+	fi
+
+	if [ ! -f "${KV_OUT_DIR}/${versionh_path}" ]
 	then
 		eerror "These sources have not yet been prepared."
 		eerror "We cannot build against an unprepared tree."





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog linux-info.eclass
@ 2013-01-16 14:29 Zac Medico (zmedico)
  0 siblings, 0 replies; 4+ messages in thread
From: Zac Medico (zmedico) @ 2013-01-16 14:29 UTC (permalink / raw
  To: gentoo-commits

zmedico     13/01/16 14:29:01

  Modified:             ChangeLog linux-info.eclass
  Log:
  Fix localRESULT typo in linux_chkconfig_builtin.

Revision  Changes    Path
1.619                eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.619&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.619&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.618&r2=1.619

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.618
retrieving revision 1.619
diff -u -r1.618 -r1.619
--- ChangeLog	15 Jan 2013 12:09:45 -0000	1.618
+++ ChangeLog	16 Jan 2013 14:29:01 -0000	1.619
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.618 2013/01/15 12:09:45 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.619 2013/01/16 14:29:01 zmedico Exp $
+
+  16 Jan 2013; Zac Medico <zmedico@gentoo.org> linux-info.eclass:
+  Fix localRESULT typo in linux_chkconfig_builtin.
 
   15 Jan 2013; Jeroen Roovers <jer@gentoo.org> ChangeLog:
   DECRIPTION -> DESCRIPTION (bug #451654 by Christopher Schwan).



1.95                 eclass/linux-info.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.95&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.95&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?r1=1.94&r2=1.95

Index: linux-info.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -r1.94 -r1.95
--- linux-info.eclass	14 Jan 2013 21:19:39 -0000	1.94
+++ linux-info.eclass	16 Jan 2013 14:29:01 -0000	1.95
@@ -1,6 +1,6 @@
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2013 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.94 2013/01/14 21:19:39 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.95 2013/01/16 14:29:01 zmedico Exp $
 
 # @ECLASS: linux-info.eclass
 # @MAINTAINER:
@@ -323,7 +323,7 @@
 # MUST call linux_config_exists first.
 linux_chkconfig_builtin() {
 	linux_config_qa_check linux_chkconfig_builtin
-	localRESULT config
+	local RESULT config
 	config="${KV_OUT_DIR}/.config"
 	[ ! -f "${config}" ] && config="/proc/config.gz"
 	RESULT="$(getfilevar_noexec CONFIG_${1} "${config}")"





^ permalink raw reply	[flat|nested] 4+ messages in thread

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog linux-info.eclass
@ 2014-03-21 22:03 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 4+ messages in thread
From: Robin H. Johnson (robbat2) @ 2014-03-21 22:03 UTC (permalink / raw
  To: gentoo-commits

robbat2     14/03/21 22:03:00

  Modified:             ChangeLog linux-info.eclass
  Log:
  linux-info: Bug #504346: Change one message from error to warning, kernel sources are optional for most uses (checking configs), and knowledge if the lack of kernel sources being missing is fatal should be left to the ebuild.

Revision  Changes    Path
1.1182               eclass/ChangeLog

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1182&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?rev=1.1182&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/ChangeLog?r1=1.1181&r2=1.1182

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1181
retrieving revision 1.1182
diff -p -w -b -B -u -u -r1.1181 -r1.1182
--- ChangeLog	19 Mar 2014 00:55:48 -0000	1.1181
+++ ChangeLog	21 Mar 2014 22:03:00 -0000	1.1182
@@ -1,6 +1,11 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1181 2014/03/19 00:55:48 hasufell Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1182 2014/03/21 22:03:00 robbat2 Exp $
+
+  21 Mar 2014; Robin H. Johnson <robbat2@gentoo.org> linux-info.eclass:
+  linux-info: Bug #504346: Change one message from error to warning, kernel
+  sources are optional for most uses (checking configs), and knowledge if the
+  lack of kernel sources being missing is fatal should be left to the ebuild.
 
   19 Mar 2014; Julian Ospald <hasufell@gentoo.org> mysql-cmake.eclass:
   respect CFLAGS wrt #497532



1.103                eclass/linux-info.eclass

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.103&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?rev=1.103&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/eclass/linux-info.eclass?r1=1.102&r2=1.103

Index: linux-info.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v
retrieving revision 1.102
retrieving revision 1.103
diff -p -w -b -B -u -u -r1.102 -r1.103
--- linux-info.eclass	29 Sep 2013 02:49:40 -0000	1.102
+++ linux-info.eclass	21 Mar 2014 22:03:00 -0000	1.103
@@ -1,6 +1,6 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2014 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.102 2013/09/29 02:49:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-info.eclass,v 1.103 2014/03/21 22:03:00 robbat2 Exp $
 
 # @ECLASS: linux-info.eclass
 # @MAINTAINER:
@@ -449,7 +449,7 @@ get_version() {
 	then
 		if [ -z "${get_version_warning_done}" ]; then
 			get_version_warning_done=1
-			qeerror "Unable to find kernel sources at ${KERNEL_DIR}"
+			qewarn "Unable to find kernel sources at ${KERNEL_DIR}"
 			#qeinfo "This package requires Linux sources."
 			if [ "${KERNEL_DIR}" == "/usr/src/linux" ] ; then
 				qeinfo "Please make sure that ${KERNEL_DIR} points at your running kernel, "





^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-03-21 22:03 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-06-26  0:06 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog linux-info.eclass Robin H. Johnson (robbat2)
  -- strict thread matches above, loose matches on Subject: below --
2012-10-22 19:00 Mike Pagano (mpagano)
2013-01-16 14:29 Zac Medico (zmedico)
2014-03-21 22:03 Robin H. Johnson (robbat2)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox