Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 616200 | Differences between
and this patch

Collapse All | Expand All

(-)a/eclass/kernel-2.eclass (-2 / +5 lines)
Lines 507-513 detect_version() { Link Here
507
		OKV_DICT=(["2"]="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))" ["3"]="2.6.39" ["4"]="3.19")
507
		OKV_DICT=(["2"]="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))" ["3"]="2.6.39" ["4"]="3.19")
508
508
509
		if [[ ${RELEASETYPE} == -rc ]] || [[ ${RELEASETYPE} == -pre ]]; then
509
		if [[ ${RELEASETYPE} == -rc ]] || [[ ${RELEASETYPE} == -pre ]]; then
510
			OKV=${K_BASE_VER:-$OKV_DICT["${KV_MAJOR}"]}
510
			if [ "${KV_PATCH}" -le 0 ] ; then
511
				OKV="${K_BASE_VER:-${OKV_DICT[${KV_MAJOR}]}}"
512
			else
513
				OKV="${KV_MAJOR}.$((${KV_PATCH} - 1))"
514
			fi
511
			KERNEL_URI="${KERNEL_BASE_URI}/testing/patch-${CKV//_/-}.xz
515
			KERNEL_URI="${KERNEL_BASE_URI}/testing/patch-${CKV//_/-}.xz
512
						${KERNEL_BASE_URI}/linux-${OKV}.tar.xz"
516
						${KERNEL_BASE_URI}/linux-${OKV}.tar.xz"
513
			UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}.xz"
517
			UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}.xz"
514
- 

Return to bug 616200