From: Brian Dolbec Date: Thu, 20 Dec 2012 02:56:04 +0000 (-0800) Subject: modules/generic_stage_target.py: Use 'devpts' instead of '/dev/pts' as the mountmap key X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0c68d30bf1c5ed224c9ec5cbbeda2dcf0ac128d3;p=catalyst.git modules/generic_stage_target.py: Use 'devpts' instead of '/dev/pts' 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 2426b128..f8dd3520 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -180,10 +180,10 @@ class generic_stage_target(generic_target): "/usr/portage/distfiles":self.settings["distdir"],"/var/tmp/portage":"tmpfs"} else: self.mounts = ["proc", "dev", "distdir", "port_tmpdir"] - self.mountmap = {"proc":"/proc", "dev":"/dev", "/dev/pts":"/dev/pts",\ + self.mountmap = {"proc":"/proc", "dev":"/dev", "devpts":"/dev/pts", "distdir":self.settings["distdir"], "port_tmpdir":"tmpfs"} if os.uname()[0] == "Linux": - self.mounts.append("/dev/pts") + self.mounts.append("devpts") self.set_mounts()