From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 761D1138247 for ; Sun, 29 Dec 2013 01:57:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A23FBE0A44; Sun, 29 Dec 2013 01:57:43 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D81BE0A44 for ; Sun, 29 Dec 2013 01:57:43 +0000 (UTC) Received: from big_daddy.dol-sen.ca (S010600222de111ff.vc.shawcable.net [96.49.5.156]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: dolsen) by smtp.gentoo.org (Postfix) with ESMTPSA id 4251433F754; Sun, 29 Dec 2013 01:57:42 +0000 (UTC) From: Brian Dolbec To: gentoo-catalyst@lists.gentoo.org Cc: Brian Dolbec Subject: [gentoo-catalyst] [PATCH 2/6] Fix a missed self.settings["repo_name"] migration Date: Sat, 28 Dec 2013 17:57:06 -0800 Message-Id: <1388282230-3563-3-git-send-email-dolsen@gentoo.org> X-Mailer: git-send-email 1.8.3.2 In-Reply-To: <1388282230-3563-1-git-send-email-dolsen@gentoo.org> References: <1388282230-3563-1-git-send-email-dolsen@gentoo.org> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-catalyst@lists.gentoo.org Reply-to: gentoo-catalyst@lists.gentoo.org X-Archives-Salt: 5e9c51f5-dc89-49aa-9aef-0e05a4baa669 X-Archives-Hash: 8f3ba01fdbaec0cc396865cfaba35821 Use normpath() on it as well. --- modules/generic_stage_target.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index d7cffa9..f881ca0 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -176,7 +176,8 @@ class generic_stage_target(generic_target): if "SNAPCACHE" in self.settings: self.mounts=["proc", "dev", "portdir", "distdir", "port_tmpdir"] self.mountmap={"proc":"/proc", "dev":"/dev", "devpts":"/dev/pts", - "portdir":self.settings["snapshot_cache_path"]+"/portage",\ + "portdir": normpath(self.settings["snapshot_cache_path"] + "/" + + self.settings["repo_name"]), "distdir":self.settings["distdir"],"port_tmpdir":"tmpfs"} else: self.mounts = ["proc", "dev", "distdir", "port_tmpdir"] -- 1.8.3.2