Add a TODO comment for improved handling of /lib/modules.
authorZac Medico <zmedico@gentoo.org>
Thu, 7 Jan 2010 19:13:07 +0000 (19:13 -0000)
committerZac Medico <zmedico@gentoo.org>
Thu, 7 Jan 2010 19:13:07 +0000 (19:13 -0000)
svn path=/main/trunk/; revision=15173

pym/portage/dbapi/vartree.py

index 17315eee2bb9fcfb5c6dd71a26e7330281e72ee1..07286b6027f21014379ecb7b537882c4b9b55094 100644 (file)
@@ -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