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

robbat2     12/02/25 06:26:14

  Modified:             ChangeLog linux-mod.eclass
  Log:
  Bug #404193: Depend on virtual/modutils instead of sys-apps/module-init-tools.

Revision  Changes    Path
1.142                eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.141
retrieving revision 1.142
diff -p -w -b -B -u -u -r1.141 -r1.142
--- ChangeLog	23 Feb 2012 23:06:13 -0000	1.141
+++ ChangeLog	25 Feb 2012 06:26:14 -0000	1.142
@@ -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.141 2012/02/23 23:06:13 a3li Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.142 2012/02/25 06:26:14 robbat2 Exp $
+
+  25 Feb 2012; Robin H. Johnson <robbat2@gentoo.org> linux-mod.eclass:
+  Bug #404193: Depend on virtual/modutils instead of
+  sys-apps/module-init-tools.
 
   23 Feb 2012; Alex Legler <a3li@gentoo.org> ruby-ng.eclass:
   Improve no-matching-ruby-target-error message wording wrt bug 405373.



1.105                eclass/linux-mod.eclass

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

Index: linux-mod.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v
retrieving revision 1.104
retrieving revision 1.105
diff -p -w -b -B -u -u -r1.104 -r1.105
--- linux-mod.eclass	22 Aug 2011 04:46:32 -0000	1.104
+++ linux-mod.eclass	25 Feb 2012 06:26:14 -0000	1.105
@@ -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-mod.eclass,v 1.104 2011/08/22 04:46:32 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.105 2012/02/25 06:26:14 robbat2 Exp $
 
 # @ECLASS: linux-mod.eclass
 # @MAINTAINER:
@@ -128,7 +128,7 @@ EXPORT_FUNCTIONS pkg_setup pkg_preinst p
 IUSE="kernel_linux"
 SLOT="0"
 DESCRIPTION="Based on the $ECLASS eclass"
-RDEPEND="kernel_linux? ( sys-apps/module-init-tools )"
+RDEPEND="kernel_linux? ( virtual/modutils )"
 DEPEND="${RDEPEND}
 	sys-apps/sed
 	kernel_linux? ( virtual/linux-sources )"






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

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog linux-mod.eclass
@ 2012-08-28 15:28 Mike Pagano (mpagano)
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Pagano (mpagano) @ 2012-08-28 15:28 UTC (permalink / raw
  To: gentoo-commits

mpagano     12/08/28 15:28:01

  Modified:             ChangeLog linux-mod.eclass
  Log:
  Remove deprecated and unrecommended parameter -r from depmod

Revision  Changes    Path
1.382                eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.381
retrieving revision 1.382
diff -u -r1.381 -r1.382
--- ChangeLog	27 Aug 2012 21:55:01 -0000	1.381
+++ ChangeLog	28 Aug 2012 15:28:01 -0000	1.382
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.381 2012/08/27 21:55:01 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.382 2012/08/28 15:28:01 mpagano Exp $
+
+  28 Aug 2012; Michael Pagano <mpagano@gentoo.org> linux-mod.eclass:
+  Remove deprecated and unrecommended parameter -r from depmod
 
   27 Aug 2012; Michał Górny <mgorny@gentoo.org> systemd.eclass:
   Drop blockers for ancient systemd versions.



1.106                eclass/linux-mod.eclass

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

Index: linux-mod.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v
retrieving revision 1.105
retrieving revision 1.106
diff -u -r1.105 -r1.106
--- linux-mod.eclass	25 Feb 2012 06:26:14 -0000	1.105
+++ linux-mod.eclass	28 Aug 2012 15:28:01 -0000	1.106
@@ -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-mod.eclass,v 1.105 2012/02/25 06:26:14 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.106 2012/08/28 15:28:01 mpagano Exp $
 
 # @ECLASS: linux-mod.eclass
 # @MAINTAINER:
@@ -223,7 +223,7 @@
 	ebegin "Updating module dependencies for ${KV_FULL}"
 	if [ -r "${KV_OUT_DIR}"/System.map ]
 	then
-		depmod -ae -F "${KV_OUT_DIR}"/System.map -b "${ROOT}" -r ${KV_FULL}
+		depmod -ae -F "${KV_OUT_DIR}"/System.map -b "${ROOT}" ${KV_FULL}
 		eend $?
 	else
 		ewarn





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

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog linux-mod.eclass
@ 2012-08-30 23:52 Mike Pagano (mpagano)
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Pagano (mpagano) @ 2012-08-30 23:52 UTC (permalink / raw
  To: gentoo-commits

mpagano     12/08/30 23:52:59

  Modified:             ChangeLog linux-mod.eclass
  Log:
  Minor typo fix to documentation line. Bug #419469

Revision  Changes    Path
1.384                eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.383
retrieving revision 1.384
diff -u -r1.383 -r1.384
--- ChangeLog	29 Aug 2012 13:42:42 -0000	1.383
+++ ChangeLog	30 Aug 2012 23:52:59 -0000	1.384
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.383 2012/08/29 13:42:42 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.384 2012/08/30 23:52:59 mpagano Exp $
+
+  30 Aug 2012; Michael Pagano <mpagano@gentoo.org> linux-mod.eclass:
+  Minor typo fix to documentation line. Bug #419469
 
   29 Aug 2012; Michał Górny <mgorny@gentoo.org> eutils.eclass:
   prune_libtool_files: run pkg-config code only if necessary.



1.107                eclass/linux-mod.eclass

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

Index: linux-mod.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v
retrieving revision 1.106
retrieving revision 1.107
diff -u -r1.106 -r1.107
--- linux-mod.eclass	28 Aug 2012 15:28:01 -0000	1.106
+++ linux-mod.eclass	30 Aug 2012 23:52:59 -0000	1.107
@@ -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-mod.eclass,v 1.106 2012/08/28 15:28:01 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.107 2012/08/30 23:52:59 mpagano Exp $
 
 # @ECLASS: linux-mod.eclass
 # @MAINTAINER:
@@ -34,7 +34,7 @@
 
 # @ECLASS-VARIABLE: BUILD_TARGETS
 # @DESCRIPTION:
-# It's a string with the build targets to pass to make. The default value is "clean modules"
+# It's a string with the build targets to pass to make. The default value is "clean module"
 
 # @ECLASS-VARIABLE: MODULE_NAMES
 # @DESCRIPTION:





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

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog linux-mod.eclass
@ 2013-12-01 19:06 Robin H. Johnson (robbat2)
  0 siblings, 0 replies; 5+ messages in thread
From: Robin H. Johnson (robbat2) @ 2013-12-01 19:06 UTC (permalink / raw
  To: gentoo-commits

robbat2     13/12/01 19:06:19

  Modified:             ChangeLog linux-mod.eclass
  Log:
  MODULES_OPTIONAL_USE makes it possible to optionally use linux-mod without introducing dependencies on virtual/linux-sources or virtual/modutils where unwanted.

Revision  Changes    Path
1.1074               eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1073
retrieving revision 1.1074
diff -p -w -b -B -u -u -r1.1073 -r1.1074
--- ChangeLog	30 Nov 2013 17:57:11 -0000	1.1073
+++ ChangeLog	1 Dec 2013 19:06:19 -0000	1.1074
@@ -1,6 +1,11 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1073 2013/11/30 17:57:11 floppym Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1074 2013/12/01 19:06:19 robbat2 Exp $
+
+  01 Dec 2013; Robin H. Johnson <robbat2@gentoo.org> linux-mod.eclass:
+  MODULES_OPTIONAL_USE makes it possible to optionally use linux-mod without
+  introducing dependencies on virtual/linux-sources or virtual/modutils where
+  unwanted.
 
   30 Nov 2013; Mike Gilbert <floppym@gentoo.org> python-r1.eclass,
   python-single-r1.eclass:



1.114                eclass/linux-mod.eclass

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

Index: linux-mod.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v
retrieving revision 1.113
retrieving revision 1.114
diff -p -w -b -B -u -u -r1.113 -r1.114
--- linux-mod.eclass	24 Aug 2013 11:07:23 -0000	1.113
+++ linux-mod.eclass	1 Dec 2013 19:06:19 -0000	1.114
@@ -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-mod.eclass,v 1.113 2013/08/24 11:07:23 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.114 2013/12/01 19:06:19 robbat2 Exp $
 
 # @ECLASS: linux-mod.eclass
 # @MAINTAINER:
@@ -18,6 +18,11 @@
 # A Couple of env vars are available to effect usage of this eclass
 # These are as follows:
 
+# @ECLASS-VARIABLE: MODULES_OPTIONAL_USE
+# @DESCRIPTION:
+# A string containing the USE flag to use for making this eclass optional
+# The recommended non-empty value is 'modules'
+
 # @ECLASS-VARIABLE: KERNEL_DIR
 # @DESCRIPTION:
 # A string containing the directory of the target kernel sources. The default value is
@@ -127,10 +132,12 @@ EXPORT_FUNCTIONS pkg_setup pkg_preinst p
 
 IUSE="kernel_linux"
 SLOT="0"
-RDEPEND="kernel_linux? ( virtual/modutils )"
+RDEPEND="${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (} kernel_linux? ( virtual/modutils ) ${MODULES_OPTIONAL_USE:+)}"
 DEPEND="${RDEPEND}
+    ${MODULES_OPTIONAL_USE}${MODULES_OPTIONAL_USE:+? (} 
 	sys-apps/sed
-	kernel_linux? ( virtual/linux-sources )"
+	kernel_linux? ( virtual/linux-sources )
+	${MODULES_OPTIONAL_USE:+)}"
 
 # eclass utilities
 # ----------------------------------
@@ -140,6 +147,7 @@ check_vermagic() {
 
 	local curr_gcc_ver=$(gcc -dumpversion)
 	local tmpfile old_chost old_gcc_ver result=0
+	[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
 
 	tmpfile=`find "${KV_DIR}/" -iname "*.o.cmd" -exec grep usr/lib/gcc {} \; -quit`
 	tmpfile=${tmpfile//*usr/lib}
@@ -344,6 +352,7 @@ get-KERNEL_CC() {
 # At the end the documentation specified with MODULESD_<modulename>_DOCS is installed.
 generate_modulesd() {
 	debug-print-function ${FUNCNAME} $*
+	[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
 
 	local 	currm_path currm currm_t t myIFS myVAR
 	local 	module_docs module_enabled module_aliases \
@@ -542,6 +551,7 @@ find_module_params() {
 # in the kernel and sets the object extension KV_OBJ.
 linux-mod_pkg_setup() {
 	debug-print-function ${FUNCNAME} $*
+	[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
 
 	local is_bin="${MERGE_TYPE}"
 
@@ -605,6 +615,7 @@ strip_modulenames() {
 # Look at the description of these variables for more details.
 linux-mod_src_compile() {
 	debug-print-function ${FUNCNAME} $*
+	[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
 
 	local modulename libdir srcdir objdir i n myABI="${ABI}"
 	set_arch_to_kernel
@@ -670,6 +681,7 @@ linux-mod_src_compile() {
 # Look at the description of these variables for more details.
 linux-mod_src_install() {
 	debug-print-function ${FUNCNAME} $*
+	[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
 
 	local modulename libdir srcdir objdir i n
 
@@ -700,6 +712,7 @@ linux-mod_src_install() {
 # It checks what to do after having merged the package.
 linux-mod_pkg_preinst() {
 	debug-print-function ${FUNCNAME} $*
+	[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
 
 	[ -d "${D}lib/modules" ] && UPDATE_DEPMOD=true || UPDATE_DEPMOD=false
 	[ -d "${D}lib/modules" ] && UPDATE_MODULEDB=true || UPDATE_MODULEDB=false
@@ -711,6 +724,7 @@ linux-mod_pkg_preinst() {
 # database (if ${D}/lib/modules is created)"
 linux-mod_pkg_postinst() {
 	debug-print-function ${FUNCNAME} $*
+	[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
 
 	${UPDATE_DEPMOD} && update_depmod;
 	${UPDATE_MODULEDB} && update_moduledb;
@@ -722,5 +736,6 @@ linux-mod_pkg_postinst() {
 # call /sbin/depmod because the modules are still installed.
 linux-mod_pkg_postrm() {
 	debug-print-function ${FUNCNAME} $*
+	[ -n "${MODULES_OPTIONAL_USE}" ] && use !${MODULES_OPTIONAL_USE} && return
 	remove_moduledb;
 }





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

* [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog linux-mod.eclass
@ 2014-01-14 20:50 Mike Pagano (mpagano)
  0 siblings, 0 replies; 5+ messages in thread
From: Mike Pagano (mpagano) @ 2014-01-14 20:50 UTC (permalink / raw
  To: gentoo-commits

mpagano     14/01/14 20:50:23

  Modified:             ChangeLog linux-mod.eclass
  Log:
  Remove use of sed in linux-mod.eclass. Replace with bash.

Revision  Changes    Path
1.1113               eclass/ChangeLog

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

Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v
retrieving revision 1.1112
retrieving revision 1.1113
diff -u -r1.1112 -r1.1113
--- ChangeLog	13 Jan 2014 06:02:35 -0000	1.1112
+++ ChangeLog	14 Jan 2014 20:50:23 -0000	1.1113
@@ -1,6 +1,9 @@
 # ChangeLog for eclass directory
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1112 2014/01/13 06:02:35 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1113 2014/01/14 20:50:23 mpagano Exp $
+
+  14 Jan 2014; Michael Pagano <mpagano@gentoo.org> linux-mod.eclass:
+  Remove use of sed in linux-mod.eclass. Replace with bash.
 
   13 Jan 2014; Ryan Hill <dirtyepic@gentoo.org> toolchain.eclass:
   Add EAPI 0 compatible USE defaults (bug #372663).



1.116                eclass/linux-mod.eclass

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

Index: linux-mod.eclass
===================================================================
RCS file: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v
retrieving revision 1.115
retrieving revision 1.116
diff -u -r1.115 -r1.116
--- linux-mod.eclass	1 Dec 2013 19:11:24 -0000	1.115
+++ linux-mod.eclass	14 Jan 2014 20:50:23 -0000	1.116
@@ -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-mod.eclass,v 1.115 2013/12/01 19:11:24 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.116 2014/01/14 20:50:23 mpagano Exp $
 
 # @ECLASS: linux-mod.eclass
 # @MAINTAINER:
@@ -431,7 +431,7 @@
 
 			for t in ${module_modinfo}
 			do
-				myVAR="$(echo ${t#*:} | grep -e " [0-9][ =]" | sed "s:.*\([01][= ]\).*:\1:")"
+				myVAR="$(echo ${t#*:}  | grep -o "[^ ]*[0-9][ =][^ ]*" | tail -1  | grep -o "[0-9]")"
 				if [[ -n ${myVAR} ]]
 				then
 					module_opts="${module_opts} ${t%%:*}:${myVAR}"





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

end of thread, other threads:[~2014-01-14 20:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-12-01 19:06 [gentoo-commits] gentoo-x86 commit in eclass: ChangeLog linux-mod.eclass Robin H. Johnson (robbat2)
  -- strict thread matches above, loose matches on Subject: below --
2014-01-14 20:50 Mike Pagano (mpagano)
2012-08-30 23:52 Mike Pagano (mpagano)
2012-08-28 15:28 Mike Pagano (mpagano)
2012-02-25  6:26 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