Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 470556 Details for
Bug 616200
kernel-2.eclass - fix OKV for _rc versions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix-OKV-for-_rc-versions.patch
0001-Fix-OKV-for-_rc-versions.patch (text/plain), 1.06 KB, created by
Dennis Schridde
on 2017-04-21 13:01:20 UTC
(
hide
)
Description:
Fix-OKV-for-_rc-versions.patch
Filename:
MIME Type:
Creator:
Dennis Schridde
Created:
2017-04-21 13:01:20 UTC
Size:
1.06 KB
patch
obsolete
>From 31297eb5035b9607b4a658f02b6454f0bddb38d5 Mon Sep 17 00:00:00 2001 >From: Dennis Schridde <dennis.schridde@uni-heidelberg.de> >Date: Fri, 21 Apr 2017 14:57:58 +0200 >Subject: [PATCH] Fix OKV for _rc versions > >Fixes: https://bugs.gentoo.org/show_bug.cgi?id=616200 >--- > eclass/kernel-2.eclass | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) > >diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass >index 0c9ce04..c1517d7 100644 >--- a/eclass/kernel-2.eclass >+++ b/eclass/kernel-2.eclass >@@ -507,7 +507,11 @@ detect_version() { > OKV_DICT=(["2"]="${KV_MAJOR}.$((${KV_PATCH_ARR} - 1))" ["3"]="2.6.39" ["4"]="3.19") > > if [[ ${RELEASETYPE} == -rc ]] || [[ ${RELEASETYPE} == -pre ]]; then >- OKV=${K_BASE_VER:-$OKV_DICT["${KV_MAJOR}"]} >+ if [ "${KV_PATCH}" -le 0 ] ; then >+ OKV="${K_BASE_VER:-${OKV_DICT[${KV_MAJOR}]}}" >+ else >+ OKV="${KV_MAJOR}.$((${KV_PATCH} - 1))" >+ fi > KERNEL_URI="${KERNEL_BASE_URI}/testing/patch-${CKV//_/-}.xz > ${KERNEL_BASE_URI}/linux-${OKV}.tar.xz" > UNIPATCH_LIST_DEFAULT="${DISTDIR}/patch-${CKV//_/-}.xz" >-- >2.10.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 616200
:
470548
|
470552
| 470556