Revert 97b38787d5e72ef091e1673ed37131b8ad97d6be (moving make.profile from /etc to...
authorJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Sat, 5 May 2012 19:10:44 +0000 (19:10 +0000)
committerJorge Manuel B. S. Vicetto (jmbsvicetto) <jmbsvicetto@gentoo.org>
Sat, 5 May 2012 19:10:44 +0000 (19:10 +0000)
modules/generic_stage_target.py

index 26e16d0e2bf12756b3e48ff5f4fac2b0baf9c36a..7a5d0a0aecde1e8e3b045ec86de9972908b3f44f 100644 (file)
@@ -813,12 +813,12 @@ class generic_stage_target(generic_target):
                        # TODO: zmedico and I discussed making this a directory and pushing
                        # in a parent file, as well as other user-specified configuration.
                        print "Configuring profile link..."
-                       cmd("rm -f "+self.settings["chroot_path"]+"/etc/portage/make.profile",\
+                       cmd("rm -f "+self.settings["chroot_path"]+"/etc/make.profile",\
                                        "Error zapping profile link",env=self.env)
                        cmd("mkdir -p "+self.settings["chroot_path"]+"/etc/portage/")
                        cmd("ln -sf ../../usr/portage/profiles/"+\
                                self.settings["target_profile"]+" "+\
-                               self.settings["chroot_path"]+"/etc/portage/make.profile",\
+                               self.settings["chroot_path"]+"/etc/make.profile",\
                                "Error creating profile link",env=self.env)
                        touch(self.settings["autoresume_path"]+"config_profile_link")