summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-10-01 08:09:51 +0100
committerSam James <sam@gentoo.org>2022-10-04 05:13:00 +0100
commit3fb3a73f31ff39601211278c9d75e1505ca64fac (patch)
tree170d0b3c4e8d35acecc7a08584c2ef2fa9c0f211 /profiles/base/make.defaults
parentxdg-utils.eclass: reset XDG_STATE_HOME (diff)
downloadgentoo-3fb3a73f31ff39601211278c9d75e1505ca64fac.tar.gz
gentoo-3fb3a73f31ff39601211278c9d75e1505ca64fac.tar.bz2
gentoo-3fb3a73f31ff39601211278c9d75e1505ca64fac.zip
profiles: add XDG_STATE_DIR to ENV_UNSET
XDG_STATE_HOME is defined in the basedir spec just like XDG_DATA_HOME and XDG_CONFIG_HOME, so we should cover it. Closes: https://bugs.gentoo.org/873802 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'profiles/base/make.defaults')
-rw-r--r--profiles/base/make.defaults2
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/base/make.defaults b/profiles/base/make.defaults
index 2c288d12d103..39d5dd1cf8aa 100644
--- a/profiles/base/make.defaults
+++ b/profiles/base/make.defaults
@@ -43,7 +43,7 @@ CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf"
# GOBIN needs to be cleaned as random values in GOBIN can affect the
# building of some packages:
# https://archives.gentoo.org/gentoo-dev/message/163010f83ae7819d80c0cfdf797cbfe0
-ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY CARGO_HOME 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"
+ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY CARGO_HOME XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_STATE_HOME XDG_RUNTIME_DIR PERL_MM_OPT PERL5LIB PERL5OPT PERL_MB_OPT PERL_CORE PERLPREFIX GOBIN GOPATH"
# Variables that are set exclusively by the profile
# and not by user configuration files.