“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.
confdefaults = {
"distdir": "/usr/portage/distfiles",
"hash_function": "crc32",
+ "icecream": "/var/cache/icecream",
"local_overlay": "/usr/local/portage",
"options": "",
"packagedir": "/usr/portage/packages",
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"]