From 0c68d30bf1c5ed224c9ec5cbbeda2dcf0ac128d3 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 '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 --- 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 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() -- 2.26.2