Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 136271
Collapse All | Expand All

(-)/tmp/kernel-2.eclass (-3 / +11 lines)
Lines 48-53 Link Here
48
48
49
# UNIPATCH_LIST			- space delimetered list of patches to be applied to the
49
# UNIPATCH_LIST			- space delimetered list of patches to be applied to the
50
#						  kernel
50
#						  kernel
51
# UNIPATCH_GENPATCHES_LAST	- if set, genpatches will be applied after any local
52
#						  patches.
51
# UNIPATCH_EXCLUDE		- an addition var to support exlusion based completely
53
# UNIPATCH_EXCLUDE		- an addition var to support exlusion based completely
52
#						  on "<passedstring>*" and not "<passedno#>_*"
54
#						  on "<passedstring>*" and not "<passedno#>_*"
53
#						- this should _NOT_ be used from the ebuild as this is
55
#						- this should _NOT_ be used from the ebuild as this is
Lines 672-678 Link Here
672
		while read -s ELINE; do ewarn "${ELINE}"; done
674
		while read -s ELINE; do ewarn "${ELINE}"; done
673
	fi
675
	fi
674
}
676
}
675
676
postinst_headers() {
677
postinst_headers() {
677
	einfo "Kernel headers are usually only used when recompiling glibc, as such, following the installation"
678
	einfo "Kernel headers are usually only used when recompiling glibc, as such, following the installation"
678
	einfo "of newer headers, it is advised that you re-merge glibc as follows:"
679
	einfo "of newer headers, it is advised that you re-merge glibc as follows:"
Lines 1012-1019 Link Here
1012
	universal_unpack
1013
	universal_unpack
1013
	debug-print "Doing unipatch"
1014
	debug-print "Doing unipatch"
1014
1015
1015
	[[ -n ${UNIPATCH_LIST} || -n ${UNIPATCH_LIST_DEFAULT} || -n ${UNIPATCH_LIST_GENPATCHES} ]] && \
1016
	if [[ -n ${UNIPATCH_LIST} || -n ${UNIPATCH_LIST_DEFAULT} || -n 	${UNIPATCH_LIST_GENPATCHES} ]] ; then
1016
		unipatch "${UNIPATCH_LIST_DEFAULT} ${UNIPATCH_LIST_GENPATCHES} ${UNIPATCH_LIST}"
1017
		if [ -z ${UNIPATCH_GENPATCHES_LAST} ] ; then
1018
			# normal behavior
1019
			unipatch "${UNIPATCH_LIST_DEFAULT} ${UNIPATCH_LIST_GENPATCHES} ${UNIPATCH_LIST}"
1020
		else
1021
			# reverse order, genpatches last
1022
			unipatch "${UNIPATCH_LIST_DEFAULT} ${UNIPATCH_LIST} ${UNIPATCH_LIST_GENPATCHES}"
1023
		fi
1024
	fi
1017
1025
1018
	debug-print "Doing premake"
1026
	debug-print "Doing premake"
1019
1027

Return to bug 136271