“mountmap” is for source paths. “mounts” is for path-agnostic keys.
I plan to add a source_mounts to settings later to compliment the target_mounts
paths.
---
catalyst | 1 +
modules/generic_stage_target.py | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/catalyst b/catalyst
index 82b0942..cb6c022 100755
--- a/catalyst
+++ b/catalyst
@@ -66,6 +66,7 @@ def parse_config(myconfig):
confdefaults = {
"distdir": "/usr/portage/distfiles",
"hash_function": "crc32",
+ "icecream": "/var/cache/icecream",
"local_overlay": "/usr/local/portage",
"options": "",
"packagedir": "/usr/portage/packages",
diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py
index c57c504..c6a06b6 100644
--- a/modules/generic_stage_target.py
+++ b/modules/generic_stage_target.py
@@ -249,8 +249,8 @@ class generic_stage_target(generic_target):
self.env["CCACHE_DIR"] = self.target_mounts["ccache"]
if "ICECREAM" in self.settings:
- self.mounts.append("/var/cache/icecream")
-
self.mountmap["/var/cache/icecream"]="/var/cache/icecream"
+ self.mounts.append("icecream")
+ self.mountmap["icecream"] = self.settings["icecream"]
self.env["PATH"] = self.target_mounts["icecream"] + ":"
+ \
self.env["PATH"]
--
1.8.3.2