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

(-)a/gen_determineargs.sh (-2 / +2 lines)
Lines 29-35 determine_KV() { Link Here
29
		then
29
		then
30
			gen_die "Kernel Makefile (${KERNEL_DIR}/Makefile) missing.  Maybe re-install the kernel sources."
30
			gen_die "Kernel Makefile (${KERNEL_DIR}/Makefile) missing.  Maybe re-install the kernel sources."
31
		fi
31
		fi
32
32
set -x
33
		VER=$(grep ^VERSION\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };')
33
		VER=$(grep ^VERSION\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };')
34
		PAT=$(grep ^PATCHLEVEL\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };')
34
		PAT=$(grep ^PATCHLEVEL\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };')
35
		SUB=$(grep ^SUBLEVEL\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };')
35
		SUB=$(grep ^SUBLEVEL\ \= ${KERNEL_DIR}/Makefile | awk '{ print $3 };')
Lines 71-77 determine_KV() { Link Here
71
			KV=${VER}.${PAT}.${SUB}${EXV}
71
			KV=${VER}.${PAT}.${SUB}${EXV}
72
		fi
72
		fi
73
	fi
73
	fi
74
74
set +x
75
	KV_MAJOR=$(echo ${KV} | cut -f1 -d.)
75
	KV_MAJOR=$(echo ${KV} | cut -f1 -d.)
76
	KV_MINOR=$(echo ${KV} | cut -f2 -d.)
76
	KV_MINOR=$(echo ${KV} | cut -f2 -d.)
77
	KV_NUMERIC=$((${KV_MAJOR} * 1000 + ${KV_MINOR}))
77
	KV_NUMERIC=$((${KV_MAJOR} * 1000 + ${KV_MINOR}))
(-)a/genkernel (-1 / +1 lines)
Lines 245-251 then Link Here
245
	else
245
	else
246
		print_info 2 "$(get_indent 1)>> Kernel version has not changed since genkernel start"
246
		print_info 2 "$(get_indent 1)>> Kernel version has not changed since genkernel start"
247
	fi
247
	fi
248
248
debug_breakpoint
249
	if isTrue "${INTEGRATED_INITRAMFS}"
249
	if isTrue "${INTEGRATED_INITRAMFS}"
250
	then
250
	then
251
		compile_kernel no
251
		compile_kernel no
252
252

Return to bug 735080