Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 368664 Details for
Bug 469210
linux-info.eclass generates sandbox violations in pkg_pretend
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fall back to getfilevar_noexec in pkg_pretend phase
linux-info.eclass.patch (text/plain), 851 bytes, created by
Timothy Jones
on 2014-01-25 03:21:47 UTC
(
hide
)
Description:
fall back to getfilevar_noexec in pkg_pretend phase
Filename:
MIME Type:
Creator:
Timothy Jones
Created:
2014-01-25 03:21:47 UTC
Size:
851 bytes
patch
obsolete
>--- eclass/linux-info.eclass.orig 2013-09-28 23:01:16.000000000 -0400 >+++ eclass/linux-info.eclass 2014-01-24 22:14:27.716260686 -0500 >@@ -408,11 +408,15 @@ > # - make is not present > # - corruption exists in the kernel makefile > get_makefile_extract_function() { >- local a='' b='' mkfunc='getfilevar' >- a="$(getfilevar VERSION ${KERNEL_MAKEFILE})" >- b="$(getfilevar_noexec VERSION ${KERNEL_MAKEFILE})" >- [[ "${a}" != "${b}" ]] && mkfunc='getfilevar_noexec' >- echo "${mkfunc}" >+ if [[ "${EBUILD_PHASE}" == "pretend" ]]; then >+ echo 'getfilevar_noexec' >+ else >+ local a='' b='' mkfunc='getfilevar' >+ a="$(getfilevar VERSION ${KERNEL_MAKEFILE})" >+ b="$(getfilevar_noexec VERSION ${KERNEL_MAKEFILE})" >+ [[ "${a}" != "${b}" ]] && mkfunc='getfilevar_noexec' >+ echo "${mkfunc}" >+ fi > } > > # internal variable, so we know to only print the warning once
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 469210
: 368664 |
375020
|
376574
|
376580
|
377912