Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 437616 Details for
Bug 585986
portage should prepend environment EPREFIX PATH instead of appending host PATH
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
portage-2.3.0-prefix-path-only.patch
portage-2.3.0-prefix-path-only.patch (text/plain), 1.06 KB, created by
Benda Xu
on 2016-06-15 03:03:57 UTC
(
hide
)
Description:
portage-2.3.0-prefix-path-only.patch
Filename:
MIME Type:
Creator:
Benda Xu
Created:
2016-06-15 03:03:57 UTC
Size:
1.06 KB
patch
obsolete
>When eprefix is defined, no host tools should be used. > >diff --git a/pym/portage/package/ebuild/doebuild.py b/pym/portage/package/ebuild/doebuild.py >index 26e6123..c266c83 100644 >--- a/pym/portage/package/ebuild/doebuild.py >+++ b/pym/portage/package/ebuild/doebuild.py >@@ -205,11 +205,6 @@ def _doebuild_path(settings, eapi=None): > overrides = [x for x in settings.get( > "__PORTAGE_TEST_PATH_OVERRIDE", "").split(":") if x] > >- prefixes = [] >- if eprefix: >- prefixes.append(eprefix) >- prefixes.append("/") >- > path = overrides > > if "xattr" in settings.features: >@@ -231,9 +226,9 @@ def _doebuild_path(settings, eapi=None): > path.append(os.path.join(x, "ebuild-helpers")) > path.extend(prerootpath) > >- for prefix in prefixes: >- for x in ("usr/local/sbin", "usr/local/bin", "usr/sbin", "usr/bin", "sbin", "bin"): >- path.append(os.path.join(prefix, x)) >+ prefix = eprefix if eprefix else "/" >+ for x in ("usr/local/sbin", "usr/local/bin", "usr/sbin", "usr/bin", "sbin", "bin"): >+ path.append(os.path.join(prefix, x)) > > path.extend(rootpath) > settings["PATH"] = ":".join(path)
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 585986
:
437616
|
449600