Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 206028 Details for
Bug 287225
linux-mod fails with recent (2.6.32) ARCH handling changes
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add a check in toolchain-funcs to check for kernel versions 2.6.32 and up.
toolchain-funcs-2.6.32-fix.patch (text/plain), 1.11 KB, created by
Kelvie Wong
on 2009-10-04 19:09:53 UTC
(
hide
)
Description:
Add a check in toolchain-funcs to check for kernel versions 2.6.32 and up.
Filename:
MIME Type:
Creator:
Kelvie Wong
Created:
2009-10-04 19:09:53 UTC
Size:
1.11 KB
patch
obsolete
>--- toolchain-funcs.eclass.old 2009-09-02 13:12:39.000000000 -0700 >+++ toolchain-funcs.eclass 2009-10-03 17:56:28.000000000 -0700 >@@ -187,7 +187,8 @@ > # Starting with linux-2.6.24, the 'x86_64' and 'i386' > # trees have been unified into 'x86'. > # FreeBSD still uses i386 >- if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) || ${host} == *freebsd* ]] ; then >+ # In 2.6.32, this has been changed back. >+ if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.24) ]] || [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.32) ]] || ${host} == *freebsd* ]] ; then > echo i386 > else > echo x86 >@@ -230,10 +231,11 @@ > x86_64*) > # Starting with linux-2.6.24, the 'x86_64' and 'i386' > # trees have been unified into 'x86'. >- if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.24) ]] ; then >+ # In 2.6.32-rc1, this has been changed back. >+ if [[ ${type} == "kern" ]] && [[ $(KV_to_int ${KV}) -ge $(KV_to_int 2.6.24) ]] && [[ $(KV_to_int ${KV}) -lt $(KV_to_int 2.6.32) ]] ; then > echo x86 > else >- ninj x86_64 amd64 >+ echo x86_64 > fi > ;; >
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 287225
: 206028 |
206311
|
206313
|
206318
|
206321