/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.298 Revision 1.299
1# Copyright 1999-2014 Gentoo Foundation 1# Copyright 1999-2015 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.298 2015/02/13 01:30:50 mpagano Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.299 2015/02/23 12:42:40 mpagano Exp $
4 4
5# Description: kernel.eclass rewrite for a clean base regarding the 2.6 5# Description: kernel.eclass rewrite for a clean base regarding the 2.6
6# series of kernel with back-compatibility for 2.4 6# series of kernel with back-compatibility for 2.4
7# 7#
8# Original author: John Mylchreest <johnm@gentoo.org> 8# Original author: John Mylchreest <johnm@gentoo.org>
372 fi 372 fi
373 else 373 else
374 if [[ ${RELEASETYPE} == -rc ]] || [[ ${RELEASETYPE} == -pre ]]; then 374 if [[ ${RELEASETYPE} == -rc ]] || [[ ${RELEASETYPE} == -pre ]]; then
375 if [[ ${KV_MAJOR}${KV_PATCH} -eq 30 ]]; then 375 if [[ ${KV_MAJOR}${KV_PATCH} -eq 30 ]]; then
376 OKV="2.6.39" 376 OKV="2.6.39"
377 elif [[ ${KV_MAJOR}${KV_PATCH} -eq 40 ]]; then
378 OKV="3.19"
377 else 379 else
378 KV_PATCH_ARR=(${KV_PATCH//\./ }) 380 KV_PATCH_ARR=(${KV_PATCH//\./ })
379 OKV="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))" 381 OKV="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))"
380 fi 382 fi
381 KERNEL_URI="${KERNEL_BASE_URI}/testing/patch-${CKV//_/-}.xz 383 KERNEL_URI="${KERNEL_BASE_URI}/testing/patch-${CKV//_/-}.xz
390 fi 392 fi
391 393
392 if [[ ${RELEASETYPE} == -rc-git ]]; then 394 if [[ ${RELEASETYPE} == -rc-git ]]; then
393 if [[ ${KV_MAJOR}${KV_PATCH} -eq 30 ]]; then 395 if [[ ${KV_MAJOR}${KV_PATCH} -eq 30 ]]; then
394 OKV="2.6.39" 396 OKV="2.6.39"
397 elif [[ ${KV_MAJOR}${KV_PATCH} -eq 40 ]]; then
398 OKV="2.19"
395 else 399 else
396 KV_PATCH_ARR=(${KV_PATCH//\./ }) 400 KV_PATCH_ARR=(${KV_PATCH//\./ })
397 OKV="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))" 401 OKV="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))"
398 fi 402 fi
399 KERNEL_URI="${KERNEL_BASE_URI}/snapshots/patch-${KV_MAJOR}.${KV_PATCH}${RELEASE}.xz 403 KERNEL_URI="${KERNEL_BASE_URI}/snapshots/patch-${KV_MAJOR}.${KV_PATCH}${RELEASE}.xz

Legend:
Removed from v.1.298  
changed lines
  Added in v.1.299

  ViewVC Help
Powered by ViewVC 1.1.20