summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-29 18:46:10 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-29 18:46:10 +0000
commite9862541e2c154f466f3a3cbdbc8abc6f59661aa (patch)
tree7130cba19ab96bb739b01cf7851e52a1d424fc9e
parent8bf13ba4beac0f9a4d799109eeae36923724e2cf (diff)
downloadportage-e9862541e2c154f466f3a3cbdbc8abc6f59661aa.tar.gz
portage-e9862541e2c154f466f3a3cbdbc8abc6f59661aa.tar.bz2
portage-e9862541e2c154f466f3a3cbdbc8abc6f59661aa.zip
Add a TODO comment for improved handling of /lib/modules. (trunk r15173)
svn path=/main/branches/2.1.7/; revision=15239
-rw-r--r--pym/portage/dbapi/vartree.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pym/portage/dbapi/vartree.py b/pym/portage/dbapi/vartree.py
index bb2c48a6a..13c9269a3 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -1771,6 +1771,10 @@ class dblink(object):
# upgraded. We effectively only want one half of the config protection
# functionality for /lib/modules. For portage-ng both capabilities
# should be able to be independently specified.
+ # TODO: For rebuilds, re-parent previous modules to the new
+ # installed instance (so they are not orphans). For normal
+ # uninstall (not rebuild/reinstall), remove the modules along
+ # with all other files (leave no orphans).
if obj.startswith(modprotect):
show_unmerge("---", unmerge_desc["cfgpro"], file_type, obj)
continue