modules/generic_stage_target.py: Use 'devpts' instead of '/dev/pts' as the mountmap key
authorBrian Dolbec <dolsen@gentoo.org>
Thu, 20 Dec 2012 02:56:04 +0000 (18:56 -0800)
committerMatt Turner <mattst88@gmail.com>
Sun, 15 Dec 2013 04:17:42 +0000 (20:17 -0800)
W. Trevor King: Refactored Git history for Brian Dolbec's content changes.

Reviewed-by: Matt Turner <mattst88@gentoo.org>
Signed-off-by: W. Trevor King <wking@tremily.us>
Signed-off-by: Brian Dolbec <dolsen@gentoo.org>
modules/generic_stage_target.py

index 2426b128b96f353205dae86524b4262b598b1c92..f8dd352033c5ed0c92a8340634326963b8661b08 100644 (file)
@@ -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()