From: Brian Dolbec Date: Sat, 5 Apr 2014 07:26:58 +0000 (-0700) Subject: generic_stage_target: Add a trailing / to the cp /etc/reolv.conf command X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=938e55e150d20d8f5ea03541498bd28e49e8f36d;p=catalyst.git generic_stage_target: Add a trailing / to the cp /etc/reolv.conf command --- diff --git a/catalyst/targets/generic_stage_target.py b/catalyst/targets/generic_stage_target.py index 05c61e8f..1f26e65f 100644 --- a/catalyst/targets/generic_stage_target.py +++ b/catalyst/targets/generic_stage_target.py @@ -1025,7 +1025,7 @@ class generic_stage_target(generic_target): #self.makeconf=read_makeconf(self.settings["chroot_path"]+"/etc/portage/make.conf") - cmd("cp /etc/resolv.conf "+self.settings["chroot_path"]+"/etc",\ + cmd("cp /etc/resolv.conf " + self.settings["chroot_path"] + "/etc/", "Could not copy resolv.conf into place.",env=self.env) """ Copy over the envscript, if applicable """