Stop dropping /etc/portage and instead drop only its contents.
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Tue, 21 Aug 2012 02:45:34 +0000 (02:45 +0000)
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Tue, 21 Aug 2012 02:45:34 +0000 (02:45 +0000)
This prevents breakage on later stages as stage1 is the only one that creates /etc/portage.

modules/stage1_target.py

index 32e63344b6acae61b0c4bd82af78d78db560e3d1..ea29bb0a47f01175bd1f449bc241c1800ff1d9a4 100644 (file)
@@ -32,7 +32,7 @@ class stage1_target(generic_stage_target):
                "/usr/lib/python2.3/email", "/usr/lib/python2.3/lib-tk",\
                "/usr/lib/python2.4/test", "/usr/lib/python2.4/email",\
                "/usr/lib/python2.4/lib-tk", "/usr/share/zoneinfo",\
-               "/etc/portage"])
+               "/etc/portage/*"])
 
        # XXX: How do these override_foo() functions differ from the ones in generic_stage_target and why aren't they in stage3_target?