From 98727c755fdf5ecc1863e29f50da02b55ce5160c Mon Sep 17 00:00:00 2001 From: Jeremy Olexa Date: Wed, 7 Dec 2011 15:58:25 +0000 Subject: [PATCH] s:/etc/make.profile:/etc/portage/make.profile:g - Use new location Take 2, specify target symlink better and create /etc/portage first (fails with stage2 otherwise) Conflicts: modules/generic_stage_target.py targets/stage1/stage1-controller.sh --- modules/generic_stage_target.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 44b314ad..5947e9a1 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -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/make.profile",\ + cmd("rm -f "+self.settings["chroot_path"]+"/etc/portage/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/make.profile",\ + self.settings["chroot_path"]+"/etc/portage/make.profile",\ "Error creating profile link",env=self.env) touch(self.settings["autoresume_path"]+"config_profile_link") -- 2.26.2