# The variables in this file are grouped by config_root, target_root.
# variables used with config_root (these need to be relative)
-MAKE_CONF_FILE = "etc/make.conf"
USER_CONFIG_PATH = "etc/portage"
+MAKE_CONF_FILE = USER_CONFIG_PATH + "/make.conf"
MODULES_FILE_PATH = USER_CONFIG_PATH + "/modules"
CUSTOM_PROFILE_PATH = USER_CONFIG_PATH + "/profile"
USER_VIRTUALS_FILE = USER_CONFIG_PATH + "/virtuals"
abs_user_config = locations_manager.abs_user_config
make_conf = getconfig(
- os.path.join(config_root, MAKE_CONF_FILE),
+ os.path.join(config_root, 'etc', 'make.conf'),
tolerant=tolerant, allow_sourcing=True) or {}
make_conf.update(getconfig(
- os.path.join(abs_user_config, 'make.conf'),
+ os.path.join(config_root, MAKE_CONF_FILE),
tolerant=tolerant, allow_sourcing=True,
expand=make_conf) or {})
self.configdict["defaults"]=self.configlist[-1]
mygcfg = getconfig(
- os.path.join(config_root, MAKE_CONF_FILE),
+ os.path.join(config_root, 'etc', 'make.conf'),
tolerant=tolerant, allow_sourcing=True,
expand=expand_map) or {}
mygcfg.update(getconfig(
- os.path.join(abs_user_config, 'make.conf'),
+ os.path.join(config_root, MAKE_CONF_FILE),
tolerant=tolerant, allow_sourcing=True,
expand=expand_map) or {})