Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 102054 Details for
Bug 154495
[Future EAPI] Provide ebuilds a way to differentiate between ebuild and binpkg in pkg_setup()
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
add FEATURES="bindist" to support precompiled kernel modules installation
binary-kernel-modules-support.patch (text/plain), 1.95 KB, created by
Fabio Erculiani
on 2006-11-16 03:35:46 UTC
(
hide
)
Description:
add FEATURES="bindist" to support precompiled kernel modules installation
Filename:
MIME Type:
Creator:
Fabio Erculiani
Created:
2006-11-16 03:35:46 UTC
Size:
1.95 KB
patch
obsolete
>--- eclass.original/linux-mod.eclass 2006-10-16 16:35:50.000000000 +0200 >+++ eclass/linux-mod.eclass 2006-11-16 12:23:45.000000000 +0100 >@@ -429,15 +429,21 @@ find_module_params() { > # -------------------------------- > > linux-mod_pkg_setup() { >- linux-info_pkg_setup; >- check_kernel_built; >- strip_modulenames; >- [[ -n ${MODULE_NAMES} ]] && check_modules_supported >- set_kvobj; >- # Commented out with permission from johnm until a fixed version for arches >- # who intentionally use different kernel and userland compilers can be >- # introduced - Jason Wever <weeve@gentoo.org>, 23 Oct 2005 >- #check_vermagic; >+ if ! hasq bindist ${FEATURES}; then >+ linux-info_pkg_setup; >+ check_kernel_built; >+ strip_modulenames; >+ [[ -n ${MODULE_NAMES} ]] && check_modules_supported >+ set_kvobj; >+ # Commented out with permission from johnm until a fixed version for arches >+ # who intentionally use different kernel and userland compilers can be >+ # introduced - Jason Wever <weeve@gentoo.org>, 23 Oct 2005 >+ #check_vermagic; >+ else >+ # We are emerging a precompiled kernel modules >+ # so this check is not needed >+ qeinfo "kernel sources not needed" >+ fi > } > > strip_modulenames() { >--- eclass.original/linux-info.eclass 2006-09-07 14:05:52.000000000 +0200 >+++ eclass/linux-info.eclass 2006-11-16 12:24:34.000000000 +0100 >@@ -164,6 +164,11 @@ linux_chkconfig_string() { > # got the jist yet? > > kernel_is() { >+ >+ # We are emerging a precompiled kernel modules >+ # so this check is not needed >+ hasq bindist ${FEATURES} && return 1 >+ > # if we haven't determined the version yet, we need too. > get_version; > local operator test value x=0 y=0 z=0 >@@ -551,6 +556,11 @@ check_zlibinflate() { > # Also used when inheriting linux-mod to force a get_version call > > linux-info_pkg_setup() { >+ >+ # We are emerging a precompiled kernel modules >+ # so this check is not needed >+ hasq bindist ${FEATURES} && return 0 >+ > get_version || die "Unable to calculate Linux Kernel version" > > if kernel_is 2 4; then
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 154495
: 102054