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

(-)eclass.original/linux-mod.eclass (-9 / +15 lines)
Lines 429-443 find_module_params() { Link Here
429
# --------------------------------
429
# --------------------------------
430
430
431
linux-mod_pkg_setup() {
431
linux-mod_pkg_setup() {
432
	linux-info_pkg_setup;
432
	if ! hasq bindist ${FEATURES}; then
433
	check_kernel_built;
433
		linux-info_pkg_setup;
434
	strip_modulenames;
434
		check_kernel_built;
435
	[[ -n ${MODULE_NAMES} ]] && check_modules_supported
435
		strip_modulenames;
436
	set_kvobj;
436
		[[ -n ${MODULE_NAMES} ]] && check_modules_supported
437
	# Commented out with permission from johnm until a fixed version for arches
437
		set_kvobj;
438
	# who intentionally use different kernel and userland compilers can be
438
		# Commented out with permission from johnm until a fixed version for arches
439
	# introduced - Jason Wever <weeve@gentoo.org>, 23 Oct 2005
439
		# who intentionally use different kernel and userland compilers can be
440
	#check_vermagic;
440
		# introduced - Jason Wever <weeve@gentoo.org>, 23 Oct 2005
441
		#check_vermagic;
442
	else
443
		# We are emerging a precompiled kernel modules
444
		# so this check is not needed
445
		qeinfo "kernel sources not needed"
446
	fi
441
}
447
}
442
448
443
strip_modulenames() {
449
strip_modulenames() {
(-)eclass.original/linux-info.eclass (+10 lines)
Lines 164-169 linux_chkconfig_string() { Link Here
164
# got the jist yet?
164
# got the jist yet?
165
165
166
kernel_is() {
166
kernel_is() {
167
168
	# We are emerging a precompiled kernel modules
169
	# so this check is not needed
170
	hasq bindist ${FEATURES} && return 1
171
167
	# if we haven't determined the version yet, we need too.
172
	# if we haven't determined the version yet, we need too.
168
	get_version;
173
	get_version;
169
	local operator test value x=0 y=0 z=0
174
	local operator test value x=0 y=0 z=0
Lines 551-556 check_zlibinflate() { Link Here
551
# Also used when inheriting linux-mod to force a get_version call
556
# Also used when inheriting linux-mod to force a get_version call
552
557
553
linux-info_pkg_setup() {
558
linux-info_pkg_setup() {
559
560
	# We are emerging a precompiled kernel modules
561
	# so this check is not needed
562
	hasq bindist ${FEATURES} && return 0
563
554
	get_version || die "Unable to calculate Linux Kernel version"
564
	get_version || die "Unable to calculate Linux Kernel version"
555
565
556
	if kernel_is 2 4; then
566
	if kernel_is 2 4; then

Return to bug 154495