/[gentoo-x86]/eclass/linux-mod.eclass
Gentoo

Diff of /eclass/linux-mod.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.27 Revision 1.28
1# Copyright 1999-2004 Gentoo Foundation 1# Copyright 1999-2004 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.27 2005/02/01 09:58:36 johnm Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/linux-mod.eclass,v 1.28 2005/02/01 10:02:02 johnm Exp $
4 4
5# Description: This eclass is used to interface with linux-info in such a way 5# Description: This eclass is used to interface with linux-info in such a way
6# to provide the functionality required and initial functions 6# to provide the functionality required and initial functions
7# required to install external modules against a kernel source 7# required to install external modules against a kernel source
8# tree. 8# tree.
193 # and generate the modules.d file. 193 # and generate the modules.d file.
194 module_modinfo="$(modinfo -p ${currm_path}.${KV_OBJ})" 194 module_modinfo="$(modinfo -p ${currm_path}.${KV_OBJ})"
195 module_config="${T}/modulesd-${currm}" 195 module_config="${T}/modulesd-${currm}"
196 196
197 ebegin "Preparing file for modules.d" 197 ebegin "Preparing file for modules.d"
198 einfo "Using: ${module_config}"
199 #----------------------------------------------------------------------- 198 #-----------------------------------------------------------------------
200 echo "# modules.d configuration file for ${currm}" >> ${module_config} 199 echo "# modules.d configuration file for ${currm}" >> ${module_config}
201 #----------------------------------------------------------------------- 200 #-----------------------------------------------------------------------
202 [[ -n ${module_docs} ]] && \ 201 [[ -n ${module_docs} ]] && \
203 echo "# For more information please read:" >> ${module_config} 202 echo "# For more information please read:" >> ${module_config}

Legend:
Removed from v.1.27  
changed lines
  Added in v.1.28

  ViewVC Help
Powered by ViewVC 1.1.20