From f5d71db83e1c01ae0bb228b9c72524408ad8012c Mon Sep 17 00:00:00 2001 From: Brian Dolbec Date: Wed, 19 Dec 2012 18:56:04 -0800 Subject: [PATCH] modules/generic_stage_target.py: Use 'distdir' instead of '/usr/portage/distfiles' 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 --- modules/generic_stage_target.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index bf43eff6..e5bdf913 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","/usr/portage/distfiles", "/var/tmp/portage"] + self.mounts = ["proc", "dev", "distdir", "/var/tmp/portage"] self.mountmap = {"proc":"/proc", "dev":"/dev", "/dev/pts":"/dev/pts",\ - "/usr/portage/distfiles":self.settings["distdir"],"/var/tmp/portage":"tmpfs"} + "distdir":self.settings["distdir"],"/var/tmp/portage":"tmpfs"} if os.uname()[0] == "Linux": self.mounts.append("/dev/pts") -- 2.26.2