/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

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

Revision 1.7 Revision 1.8
14# These are as follows: 14# These are as follows:
15# 15#
16# K_NOSETEXTRAVERSION - if this is set then EXTRAVERSION will not be automatically set within the kernel Makefile 16# K_NOSETEXTRAVERSION - if this is set then EXTRAVERSION will not be automatically set within the kernel Makefile
17# K_NOUSENAME - if this is set then EXTRAVERSION will not include the first part of ${PN} in EXTRAVERSION 17# K_NOUSENAME - if this is set then EXTRAVERSION will not include the first part of ${PN} in EXTRAVERSION
18# K_EXTRAEINFO - this is a new-line seperated list of einfo displays in postinst and can be used to carry additional postinst messages 18# K_EXTRAEINFO - this is a new-line seperated list of einfo displays in postinst and can be used to carry additional postinst messages
19# K_EXTRAEWARN - same as K_EXTRAEINFO except ewarn's instead of einfo's
19# UNIPATCH_LIST - space delimetered list of patches to be applied to the kernel 20# UNIPATCH_LIST - space delimetered list of patches to be applied to the kernel
20# UNIPATCH_DOCS - space delimemeted list of docs to be installed to the doc dir 21# UNIPATCH_DOCS - space delimemeted list of docs to be installed to the doc dir
21 22
22ECLASS="kernel-2" 23ECLASS="kernel-2"
23EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst 24EXPORT_FUNCTIONS src_unpack src_compile src_install pkg_preinst pkg_postinst
205 echo ${K_EXTRAEINFO} | fmt | 206 echo ${K_EXTRAEINFO} | fmt |
206 while read -s ELINE 207 while read -s ELINE
207 do 208 do
208 einfo "${ELINE}" 209 einfo "${ELINE}"
209 done 210 done
211
212 echo
210 fi 213 fi
211 214
212 # if K_EXTRAEWARN is set then lets display it now 215 # if K_EXTRAEWARN is set then lets display it now
213 if [ -n "${K_EXTRAEWARN}" ] 216 if [ -n "${K_EXTRAEWARN}" ]
214 then 217 then
215 echo ${K_EXTRAEWARN} | fmt | 218 echo ${K_EXTRAEWARN} | fmt |
216 while read -s ELINE 219 while read -s ELINE
217 do 220 do
218 einfo "${ELINE}" 221 ewarn "${ELINE}"
219 done 222 done
223
224 echo
220 fi 225 fi
221} 226}
222 227
223# unipatch 228# unipatch
224#============================================================== 229#==============================================================

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

  ViewVC Help
Powered by ViewVC 1.1.20