Gentoo Archives: gentoo-catalyst

From: Brian Dolbec <dolsen@g.o>
To: gentoo-catalyst@l.g.o
Cc: Brian Dolbec <dolsen@g.o>
Subject: [gentoo-catalyst] [PATCH 2/6] Fix a missed self.settings["repo_name"] migration
Date: Sun, 29 Dec 2013 01:57:47
Message-Id: 1388282230-3563-3-git-send-email-dolsen@gentoo.org
In Reply to: [gentoo-catalyst] Patches to fix rebased patches already applied to current master by Brian Dolbec
1 Use normpath() on it as well.
2 ---
3 modules/generic_stage_target.py | 3 ++-
4 1 file changed, 2 insertions(+), 1 deletion(-)
5
6 diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py
7 index d7cffa9..f881ca0 100644
8 --- a/modules/generic_stage_target.py
9 +++ b/modules/generic_stage_target.py
10 @@ -176,7 +176,8 @@ class generic_stage_target(generic_target):
11 if "SNAPCACHE" in self.settings:
12 self.mounts=["proc", "dev", "portdir", "distdir", "port_tmpdir"]
13 self.mountmap={"proc":"/proc", "dev":"/dev", "devpts":"/dev/pts",
14 - "portdir":self.settings["snapshot_cache_path"]+"/portage",\
15 + "portdir": normpath(self.settings["snapshot_cache_path"] + "/" +
16 + self.settings["repo_name"]),
17 "distdir":self.settings["distdir"],"port_tmpdir":"tmpfs"}
18 else:
19 self.mounts = ["proc", "dev", "distdir", "port_tmpdir"]
20 --
21 1.8.3.2

Replies

Subject Author
Re: [gentoo-catalyst] [PATCH 2/6] Fix a missed self.settings["repo_name"] migration "W. Trevor King" <wking@×××××××.us>