summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2010-01-07 19:13:07 +0000
committerZac Medico <zmedico@gentoo.org>2010-01-07 19:13:07 +0000
commite3320a3ac33b806b66dede3255af1d3ec32f6897 (patch)
tree079b25f97ba4cf9595588bbf2a1e382bb3d70f67
parentdb5458ce6699d79de8b0dd05d2ba9d01a6ad1b44 (diff)
downloadportage-e3320a3ac33b806b66dede3255af1d3ec32f6897.tar.gz
portage-e3320a3ac33b806b66dede3255af1d3ec32f6897.tar.bz2
portage-e3320a3ac33b806b66dede3255af1d3ec32f6897.zip
Add a TODO comment for improved handling of /lib/modules.
svn path=/main/trunk/; revision=15173
-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 17315eee2..07286b602 100644
--- a/pym/portage/dbapi/vartree.py
+++ b/pym/portage/dbapi/vartree.py
@@ -2533,6 +2533,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