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 6/6] Set mountmap["icecream"] from settings for now.
Date: Mon, 30 Dec 2013 01:52:02
Message-Id: 1388368253-22018-7-git-send-email-dolsen@gentoo.org
In Reply to: Re: [gentoo-catalyst] Patches to fix rebased patches already applied to current master. Version-2 by Brian Dolbec
1 “mountmap” is for source paths. “mounts” is for path-agnostic keys.
2 I plan to add a source_mounts to settings later to compliment the target_mounts paths.
3 ---
4 catalyst | 1 +
5 modules/generic_stage_target.py | 4 ++--
6 2 files changed, 3 insertions(+), 2 deletions(-)
7
8 diff --git a/catalyst b/catalyst
9 index 82b0942..cb6c022 100755
10 --- a/catalyst
11 +++ b/catalyst
12 @@ -66,6 +66,7 @@ def parse_config(myconfig):
13 confdefaults = {
14 "distdir": "/usr/portage/distfiles",
15 "hash_function": "crc32",
16 + "icecream": "/var/cache/icecream",
17 "local_overlay": "/usr/local/portage",
18 "options": "",
19 "packagedir": "/usr/portage/packages",
20 diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py
21 index 8d98e58..bbea57a 100644
22 --- a/modules/generic_stage_target.py
23 +++ b/modules/generic_stage_target.py
24 @@ -249,8 +249,8 @@ class generic_stage_target(generic_target):
25 self.env["CCACHE_DIR"] = self.target_mounts["ccache"]
26
27 if "ICECREAM" in self.settings:
28 - self.mounts.append("/var/cache/icecream")
29 - self.mountmap["/var/cache/icecream"]="/var/cache/icecream"
30 + self.mounts.append("icecream")
31 + self.mountmap["icecream"] = self.settings["icecream"]
32 self.env["PATH"] = self.target_mounts["icecream"] + ":" + \
33 self.env["PATH"]
34
35 --
36 1.8.3.2

Replies

Subject Author
Re: [gentoo-catalyst] [PATCH 6/6] Set mountmap["icecream"] from settings for now. "W. Trevor King" <wking@×××××××.us>