modules/generic_stage_target.py: Use 'dev' instead of '/dev' 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:36 +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 490430f6d6225a5d7707791a790210a0d58aa772..bf43eff6668ffe10eeb564b63a4044bd9b040204 100644 (file)
@@ -179,8 +179,8 @@ 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.mountmap = {"proc":"/proc", "/dev":"/dev", "/dev/pts":"/dev/pts",\
+                       self.mounts = ["proc", "dev","/usr/portage/distfiles", "/var/tmp/portage"]
+                       self.mountmap = {"proc":"/proc", "dev":"/dev", "/dev/pts":"/dev/pts",\
                                "/usr/portage/distfiles":self.settings["distdir"],"/var/tmp/portage":"tmpfs"}
                if os.uname()[0] == "Linux":
                        self.mounts.append("/dev/pts")