aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-06-29 18:50:54 -0700
committerZac Medico <zmedico@gentoo.org>2011-06-29 18:50:54 -0700
commita1d16a01c4ca0b2b196e9256b4f309157c5545fd (patch)
treeb59bd703805fed1eda8e48732051e7ff5e5f1ca1
parentRELEASE-NOTES: fix spelling of "respecting" (diff)
downloadportage-a1d16a01c4ca0b2b196e9256b4f309157c5545fd.tar.gz
portage-a1d16a01c4ca0b2b196e9256b4f309157c5545fd.tar.bz2
portage-a1d16a01c4ca0b2b196e9256b4f309157c5545fd.zip
env_update: document ldconfig -X for bug #373341
-rw-r--r--pym/portage/util/env_update.py9
1 files changed, 8 insertions, 1 deletions
diff --git a/pym/portage/util/env_update.py b/pym/portage/util/env_update.py
index a82afdfea..3e295f00b 100644
--- a/pym/portage/util/env_update.py
+++ b/pym/portage/util/env_update.py
@@ -27,7 +27,14 @@ def env_update(makelinks=1, target_root=None, prev_mtimes=None, contents=None,
env=None, writemsg_level=None):
"""
Parse /etc/env.d and use it to generate /etc/profile.env, csh.env,
- ld.so.conf, and prelink.conf. Finally, run ldconfig.
+ ld.so.conf, and prelink.conf. Finally, run ldconfig. When ldconfig is
+ called, its -X option will be used in order to avoid potential
+ interference with installed soname symlinks that are required for
+ correct operation of FEATURES=preserve-libs for downgrade operations.
+ It's not necessary for ldconfig to create soname symlinks, since
+ portage will use NEEDED.ELF.2 data to automatically create them
+ after src_install if they happen to be missing.
+ @param makelinks: True if ldconfig should be called, False otherwise
@param target_root: root that is passed to the ldconfig -r option,
defaults to portage.settings["ROOT"].
@type target_root: String (Path)