Add a TODO comment for improved handling of /lib/modules. (trunk r15173)
authorZac Medico <zmedico@gentoo.org>
Fri, 29 Jan 2010 18:46:10 +0000 (18:46 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 29 Jan 2010 18:46:10 +0000 (18:46 -0000)
svn path=/main/branches/2.1.7/; revision=15239

pym/portage/dbapi/vartree.py

index bb2c48a6aef3edb5fc0ed12465cb2eecfcd9344f..13c9269a38fd12ce6b2b49ec7163f52830cba1eb 100644 (file)
@@ -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