else:
self.settings.pop("PORTAGE_LOG_FILE", None)
- env_update(target_root=self._eroot, prev_mtimes=ldpath_mtimes,
+ env_update(target_root=self.settings['ROOT'],
+ prev_mtimes=ldpath_mtimes,
contents=contents, env=self.settings.environ(),
writemsg_level=self._display_merge)
return os.EX_OK
#update environment settings, library paths. DO NOT change symlinks.
env_update(makelinks=(not downgrade),
- target_root=self._eroot, prev_mtimes=prev_mtimes,
+ target_root=self.settings['ROOT'], prev_mtimes=prev_mtimes,
contents=contents, env=self.settings.environ(),
writemsg_level=self._display_merge)
Parse /etc/env.d and use it to generate /etc/profile.env, csh.env,
ld.so.conf, and prelink.conf. Finally, run ldconfig.
@param target_root: root that is passed to the ldconfig -r option,
- defaults to portage.settings["EROOT"].
+ defaults to portage.settings["ROOT"].
@type target_root: String (Path)
"""
if writemsg_level is None:
writemsg_level = portage.util.writemsg_level
if target_root is None:
- target_root = portage.settings["EROOT"]
+ target_root = portage.settings["ROOT"]
if prev_mtimes is None:
prev_mtimes = portage.mtimedb["ldpath"]
if env is None: