Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 384948 Details for
Bug 433453
add the possibility to install packages as non-root user
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
create_trees: whitelist PORTAGE_DEPCACHEDIR
create_trees-whitelist-PORTAGE_DEPCACHEDIR.patch (text/plain), 1.11 KB, created by
Zac Medico
on 2014-09-17 17:23:50 UTC
(
hide
)
Description:
create_trees: whitelist PORTAGE_DEPCACHEDIR
Filename:
MIME Type:
Creator:
Zac Medico
Created:
2014-09-17 17:23:50 UTC
Size:
1.11 KB
patch
obsolete
>From 31309fac3c0237a20903e5795e84ce55b1c6f491 Mon Sep 17 00:00:00 2001 >From: Zac Medico <zmedico@gentoo.org> >Date: Wed, 17 Sep 2014 10:21:03 -0700 >Subject: [PATCH] create_trees: whitelist PORTAGE_DEPCACHEDIR > >This fixes PORTAGE_DEPCACHEDIR to work for ROOT=/ when working with a >different target ROOT. >--- > pym/portage/__init__.py | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > >diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py >index 66bfeb0..b29d106 100644 >--- a/pym/portage/__init__.py >+++ b/pym/portage/__init__.py >@@ -580,7 +580,8 @@ def create_trees(config_root=None, target_root=None, trees=None, env=None, > # environment to apply to the config that's associated > # with ROOT != "/", so pass a nearly empty dict for the env parameter. > clean_env = {} >- for k in ('PATH', 'PORTAGE_GRPNAME', 'PORTAGE_REPOSITORIES', 'PORTAGE_USERNAME', >+ for k in ('PATH', 'PORTAGE_DEPCACHEDIR', 'PORTAGE_GRPNAME', >+ 'PORTAGE_REPOSITORIES', 'PORTAGE_USERNAME', > 'PYTHONPATH', 'SSH_AGENT_PID', 'SSH_AUTH_SOCK', 'TERM', > 'ftp_proxy', 'http_proxy', 'no_proxy', > '__PORTAGE_TEST_HARDLINK_LOCKS'): >-- >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 433453
:
323232
|
384764
|
384948