diff options
author | 2012-03-17 00:01:59 +0000 | |
---|---|---|
committer | 2012-03-17 00:01:59 +0000 | |
commit | 35f9779c1d1c9f0bb86770578050008607c3b43a (patch) | |
tree | d905b917a714bb5b6f5f52c6ffee9a10ecefcf99 /eclass/kernel-2.eclass | |
parent | version bump and clean up (diff) | |
download | historical-35f9779c1d1c9f0bb86770578050008607c3b43a.tar.gz historical-35f9779c1d1c9f0bb86770578050008607c3b43a.tar.bz2 historical-35f9779c1d1c9f0bb86770578050008607c3b43a.zip |
Fix eclass for rc kernels, and fix testing tarball download location. bug #407869
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r-- | eclass/kernel-2.eclass | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass index 7c955870240b..c4811ae38968 100644 --- a/eclass/kernel-2.eclass +++ b/eclass/kernel-2.eclass @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.274 2011/12/28 13:38:05 psomas Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.275 2012/03/17 00:01:59 mpagano Exp $ # Description: kernel.eclass rewrite for a clean base regarding the 2.6 # series of kernel with back-compatibility for 2.4 @@ -207,14 +207,10 @@ detect_version() { if [[ ${#OKV_ARRAY[@]} -lt 3 ]]; then KV_PATCH_ARR=(${KV_PATCH//\./ }) - # at this point 080811, Linus is putting 3.1 kernels in 3.0 directory - # revisit when 3.1 is released - if [[ ${KV_PATCH} -gt 0 ]]; then - KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))" - else - KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_PATCH_ARR}" - fi - # KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_PATCH_ARR}" + # at this point 031412, Linus is putting all 3.x kernels in a + # 3.x directory, may need to revisit when 4.x is released + KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.x" + [[ -n "${K_LONGTERM}" ]] && KERNEL_BASE_URI="${KERNEL_BASE_URI}/longterm/v${KV_MAJOR}.${KV_PATCH_ARR}" else @@ -346,7 +342,7 @@ detect_version() { OKV="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))" fi KERNEL_URI="${KERNEL_BASE_URI}/testing/patch-${CKV//_/-}.bz2 - ${KERNEL_BASE_URI}/testing/linux-${OKV}.tar.bz2" + ${KERNEL_BASE_URI}/linux-${OKV}.tar.bz2" UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}.bz2" fi |