Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 376580 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]
Don't check Makefile for KBUILD_OUTPUT
0002-linux-info.eclass.patch (text/plain), 1.34 KB, created by
Timothy Jones
on 2014-05-08 19:02:11 UTC
(
hide
)
Description:
Don't check Makefile for KBUILD_OUTPUT
Filename:
MIME Type:
Creator:
Timothy Jones
Created:
2014-05-08 19:02:11 UTC
Size:
1.34 KB
patch
obsolete
>--- linux-info.eclass.orig 2014-05-08 14:18:19.916399472 -0400 >+++ linux-info.eclass 2014-05-08 14:46:48.691834174 -0400 >@@ -400,21 +400,6 @@ > echo ${x} > } > >-# Check if the Makefile is valid for direct parsing. >-# Check status results: >-# - PASS, use 'getfilevar' to extract values >-# - FAIL, use 'getfilevar_noexec' to extract values >-# The check may fail if: >-# - 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}" >-} >- > # internal variable, so we know to only print the warning once > get_version_warning_done= > >@@ -493,14 +478,6 @@ > # keep track of it > KERNEL_MAKEFILE="${KV_DIR}/Makefile" > >- if [[ -z ${OUTPUT_DIR} ]]; then >- # Decide the function used to extract makefile variables. >- local mkfunc=$(get_makefile_extract_function "${KERNEL_MAKEFILE}") >- >- # And if we didn't pass it, we can take a nosey in the Makefile. >- OUTPUT_DIR=$(${mkfunc} KBUILD_OUTPUT "${KERNEL_MAKEFILE}") >- fi >- > # And contrary to existing functions I feel we shouldn't trust the > # directory name to find version information as this seems insane. > # So we parse ${KERNEL_MAKEFILE}. We should be able to trust that
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