modules/generic_stage_target.py: Use 'devpts' as mountmap key.
authorMatt Turner <mattst88@gmail.com>
Sun, 15 Dec 2013 20:31:20 +0000 (12:31 -0800)
committerMatt Turner <mattst88@gmail.com>
Sun, 15 Dec 2013 20:33:42 +0000 (12:33 -0800)
Missed in 0c68d30b. Would cause catalyst to fail if snapcache were
enabled.

Tested-by: Brian Dolbec <dolsen@gentoo.org>
modules/generic_stage_target.py

index 8c983e1411da7968d3d664ba3c322dbd474e39d2..3e60f72a892ce2d72f7e7e71279a7e557ad28866 100644 (file)
@@ -175,7 +175,7 @@ class generic_stage_target(generic_target):
                """ Setup our mount points """
                if "SNAPCACHE" in self.settings:
                        self.mounts=["/proc","/dev","/usr/portage","/usr/portage/distfiles","/var/tmp/portage"]
-                       self.mountmap={"/proc":"/proc","/dev":"/dev","/dev/pts":"/dev/pts",\
+                       self.mountmap={"/proc":"/proc","/dev":"/dev","devpts":"/dev/pts",
                                "/usr/portage":self.settings["snapshot_cache_path"]+"/portage",\
                                "/usr/portage/distfiles":self.settings["distdir"],"/var/tmp/portage":"tmpfs"}
                else: