From: Brian Dolbec Date: Thu, 20 Dec 2012 02:56:04 +0000 (-0800) Subject: modules/generic_stage_target.py: Use 'port_tmpdir' instead of '/var/tmp/portage'... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9bf89937a904e6d0d5d27b20a224469d631e0599;p=catalyst.git modules/generic_stage_target.py: Use 'port_tmpdir' instead of '/var/tmp/portage' as the mountmap key W. Trevor King: Refactored Git history for Brian Dolbec's content changes. Reviewed-by: Matt Turner Signed-off-by: W. Trevor King Signed-off-by: Brian Dolbec --- diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index e5bdf913..2426b128 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -179,9 +179,9 @@ class generic_stage_target(generic_target): "/usr/portage":self.settings["snapshot_cache_path"]+"/portage",\ "/usr/portage/distfiles":self.settings["distdir"],"/var/tmp/portage":"tmpfs"} else: - self.mounts = ["proc", "dev", "distdir", "/var/tmp/portage"] + self.mounts = ["proc", "dev", "distdir", "port_tmpdir"] self.mountmap = {"proc":"/proc", "dev":"/dev", "/dev/pts":"/dev/pts",\ - "distdir":self.settings["distdir"],"/var/tmp/portage":"tmpfs"} + "distdir":self.settings["distdir"], "port_tmpdir":"tmpfs"} if os.uname()[0] == "Linux": self.mounts.append("/dev/pts")