Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 259891 Details for
Bug 351704
get_running_version() in linux-info.eclass (1.87) doesn't support four-component kernel versions
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix get_running_version to work with four-part kernel version numbers.
four-part-kernelver.patch (text/plain), 904 bytes, created by
Mike Nerone
on 2011-01-14 21:43:52 UTC
(
hide
)
Description:
Fix get_running_version to work with four-part kernel version numbers.
Filename:
MIME Type:
Creator:
Mike Nerone
Created:
2011-01-14 21:43:52 UTC
Size:
904 bytes
patch
obsolete
>From 4f95829fb728870951203305467cabd7af13a3f6 Mon Sep 17 00:00:00 2001 >From: Mike Nerone <mike@nerone.org> >Date: Fri, 14 Jan 2011 15:16:22 -0600 >Subject: [PATCH] Fix get_running_version to work with four-part kernel version numbers. > >--- > eclass/linux-info.eclass | 3 +-- > 1 files changed, 1 insertions(+), 2 deletions(-) > >diff --git a/eclass/linux-info.eclass b/eclass/linux-info.eclass >index e9aca24..abe8067 100644 >--- a/eclass/linux-info.eclass >+++ b/eclass/linux-info.eclass >@@ -598,8 +598,7 @@ get_running_version() { > else > KV_MAJOR=$(get_version_component_range 1 ${KV_FULL}) > KV_MINOR=$(get_version_component_range 2 ${KV_FULL}) >- KV_PATCH=$(get_version_component_range 3- ${KV_FULL}) >- KV_PATCH=${KV_PATCH//-*} >+ KV_PATCH=$(get_version_component_range 3 ${KV_FULL}) > [[ -n ${KV_FULL#*-} ]] && [[ -n ${KV_FULL//${KV_FULL#*-}} ]] \ > && KV_EXTRA="-${KV_FULL#*-}" > fi >-- >1.7.3.4 >
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 351704
: 259891