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: Sun, 29 Dec 2013 01:58:06
Message-Id: 1388282230-3563-7-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 mounts and mountmap are source paths.
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 c8d31e1..43df545 100644
22 --- a/modules/generic_stage_target.py
23 +++ b/modules/generic_stage_target.py
24 @@ -243,8 +243,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>