Remove automatic "system" and "world" set creation since we can
authorZac Medico <zmedico@gentoo.org>
Fri, 7 Dec 2007 05:33:52 +0000 (05:33 -0000)
committerZac Medico <zmedico@gentoo.org>
Fri, 7 Dec 2007 05:33:52 +0000 (05:33 -0000)
probably rely on having a complete config.

svn path=/main/trunk/; revision=8862

pym/_emerge/__init__.py

index a6679f4296049b89d63a28117849bad65c8279d4..9458882af0dfdd81a81df45fcb90267f9b028764 100644 (file)
@@ -6911,15 +6911,6 @@ def emerge_main():
                sets = setconfig.getSets()
                # emerge relies on the existance of sets with names "world" and "system"
                required_sets = ("world", "system")
-               if "system" not in sets:
-                       # bootstrap.sh expects that this set always exists
-                       from portage.sets.profiles import PackagesSystemSet
-                       sets["system"] = PackagesSystemSet(root_config.settings.profiles)
-               if "world" not in sets:
-                       from portage.sets.files import WorldSet
-                       sets["world"] = WorldSet(root_config.root)
-               setconfig.psets.update(sets)
-               root_config.sets = sets
                for s in required_sets:
                        if s not in sets:
                                msg = ["emerge: incomplete set configuration, " + \