Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 23927 Details for
Bug 32737
Compiling external kernel modules with 2.6 kernels
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch kernel-mod.eclass
kernel-mod-2.6-check.diff (text/plain), 1.08 KB, created by
Peter Johanson (RETIRED)
on 2004-01-16 08:23:07 UTC
(
hide
)
Description:
patch kernel-mod.eclass
Filename:
MIME Type:
Creator:
Peter Johanson (RETIRED)
Created:
2004-01-16 08:23:07 UTC
Size:
1.08 KB
patch
obsolete
>--- kernel-mod.eclass.bak 2004-01-15 10:13:46.000000000 -0500 >+++ kernel-mod.eclass 2004-01-15 23:20:58.135653736 -0500 >@@ -156,6 +156,30 @@ > emake KERNEL_DIR=${KERNEL_DIR} || die > } > >+kernel-mod_check_module_safe () >+{ >+ if kernel-mod_is_2_4_kernel >+ then >+ return 1 >+ else >+ if [ "`has sandbox ${FEATURES}`" -o "`has usersandbox ${FEATURES}`" ] >+ then >+ eerror "Due to a problem with kbuild in 2.5/2.6 kernels, external modules" >+ eerror "require that sandbox and usersandbox be disabled." >+ eerror "The only place in your live filesystem that will be affected is" >+ eerror "in /usr/src/linux (nothing destructive)." >+ eerror "Please see bug #32737 on bugs.gentoo.org for info, until then" >+ eerror "you can install the ${PN} modules by doing " >+ eerror "" >+ eerror "# FEATURES='-sandbox -usersandbox' emerge ${PN}" >+ die "'sandbox' or 'usersandbox' enabled for 2.5/2.6 kernel module build" >+ fi >+ fi >+} >+ >+ >+ >+ > kernel-mod_is_2_4_kernel() { > kernel-mod_getversion > >@@ -189,4 +213,4 @@ > fi > } > >-EXPORT_FUNCTIONS src_compile >+EXPORT_FUNCTIONS src_compile check_module_safe
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 32737
:
23927
|
24094
|
24095
|
24096
|
24131
|
24646
|
24647
|
24649
|
24650
|
24651
|
25235
|
25237
|
25238
|
25239
|
25279
|
25280
|
25281
|
25282
|
25283
|
25363
|
25453
|
25454
|
25497
|
26588
|
26635
|
26643
|
27538
|
30030
|
31314
|
31315
|
31317
|
31345
|
31346
|
31347
|
32935
|
33123
|
33124
|
33125
|
33356
|
36615