1 |
CARGO_HOME may leak into ebuild environment and lead to |
2 |
write attempts to directory specified. |
3 |
This is explicitly taken care of in cargo.eclass, but |
4 |
ebuilds that don't use the eclass can still be affected. |
5 |
|
6 |
Signed-off-by: Georgy Yakovlev <gyakovlev@g.o> |
7 |
--- |
8 |
profiles/base/make.defaults | 2 +- |
9 |
1 file changed, 1 insertion(+), 1 deletion(-) |
10 |
|
11 |
diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults |
12 |
index 1ac69f51ec9..9f570d905c8 100644 |
13 |
--- a/profiles/base/make.defaults |
14 |
+++ b/profiles/base/make.defaults |
15 |
@@ -40,7 +40,7 @@ CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf" |
16 |
# GOBIN needs to be cleaned as random values in GOBIN can affect the |
17 |
# building of some packages: |
18 |
# https://archives.gentoo.org/gentoo-dev/message/163010f83ae7819d80c0cfdf797cbfe0 |
19 |
-ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX GOBIN GOPATH" |
20 |
+ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX GOBIN GOPATH CARGO_HOME" |
21 |
|
22 |
# Variables that are set exclusively by the profile |
23 |
# and not by user configuration files. |
24 |
-- |
25 |
2.28.0 |