summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Pagano <mpagano@gentoo.org>2011-08-15 21:38:33 +0000
committerMike Pagano <mpagano@gentoo.org>2011-08-15 21:38:33 +0000
commitbdb8180548d4b12d964fb3e9d5a9d65157c7adf9 (patch)
tree8b97483251adde7c588ab37d04370a0e33da5125 /eclass
parentx86 stable, bug #377465 (diff)
downloadgentoo-2-bdb8180548d4b12d964fb3e9d5a9d65157c7adf9.tar.gz
gentoo-2-bdb8180548d4b12d964fb3e9d5a9d65157c7adf9.tar.bz2
gentoo-2-bdb8180548d4b12d964fb3e9d5a9d65157c7adf9.zip
Fix for 2.6.X KERNEL_BASE_URI, thanks to lxnay.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass8
1 files changed, 5 insertions, 3 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index 72885e904214..2b74d21566e4 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.256 2011/08/11 14:09:56 mpagano Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.257 2011/08/15 21:38:33 mpagano Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -230,12 +230,14 @@ detect_version() {
[[ -n "${K_LONGTERM}" ]] &&
KERNEL_BASE_URI="${KERNEL_BASE_URI}/longterm/v${KV_MAJOR}.${KV_PATCH_ARR}"
else
- KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.0"
- #KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}"
+ #KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.0"
+ KERNEL_BASE_URI="mirror://kernel/linux/kernel/v${KV_MAJOR}.${KV_MINOR}"
[[ -n "${K_LONGTERM}" ]] &&
KERNEL_BASE_URI="${KERNEL_BASE_URI}/longterm/v${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}"
fi
+ debug-print "KERNEL_BASE_URI is ${KERNEL_BASE_URI}"
+
if [[ ${#OKV_ARRAY[@]} -ge 3 ]] && [[ ${KV_MAJOR} -ge 3 ]]; then
# handle vanilla-sources-3.x.y correctly
if [[ ${PN/-*} == "vanilla" && ${KV_PATCH} -gt 0 ]]; then