Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 381192 Details for
Bug 490014
portage should not preserve EROOT in environment
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
environment: Filter EROOT for all EAPIs
0001-environment-Filter-EROOT-for-all-EAPIs.patch (text/plain), 1.18 KB, created by
mike@marineau.org
on 2014-07-21 05:05:32 UTC
(
hide
)
Description:
environment: Filter EROOT for all EAPIs
Filename:
MIME Type:
Creator:
mike@marineau.org
Created:
2014-07-21 05:05:32 UTC
Size:
1.18 KB
patch
obsolete
>From 6e0d2f0b0be100c033edf3593fe327bca061f0db Mon Sep 17 00:00:00 2001 >From: Michael Marineau <mike@marineau.org> >Date: Sun, 20 Jul 2014 20:27:43 -0700 >Subject: [PATCH] environment: Filter EROOT for all EAPIs > >This variable is often defined in older EAPIs with "${EROOT:=$ROOT}" >but it should never be preserved since ROOT may change. Bug #490014 >--- > bin/phase-functions.sh | 9 ++++++--- > 1 file changed, 6 insertions(+), 3 deletions(-) > >diff --git a/bin/phase-functions.sh b/bin/phase-functions.sh >index f39a024..3a62904 100644 >--- a/bin/phase-functions.sh >+++ b/bin/phase-functions.sh >@@ -101,10 +101,13 @@ __filter_readonly_variables() { > filtered_vars="$readonly_bash_vars $bash_misc_vars > $PORTAGE_READONLY_VARS $misc_garbage_vars" > >- # Don't filter/interfere with prefix variables unless they are >- # supported by the current EAPI. >+ # Always filter EROOT to ensure it is redefined based on ROOT >+ filtered_vars+=" EROOT" >+ >+ # Don't filter/interfere with the other prefix variables unless >+ # they are supported by the current EAPI. > if ___eapi_has_prefix_variables; then >- filtered_vars+=" ED EPREFIX EROOT" >+ filtered_vars+=" ED EPREFIX" > fi > > if has --filter-sandbox $* ; then >-- >1.8.5.5 >
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 490014
: 381192