From: Matt Turner Date: Sun, 15 Dec 2013 20:31:20 +0000 (-0800) Subject: modules/generic_stage_target.py: Use 'devpts' as mountmap key. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3f440381f4d886ba3a80606d392173028247d49f;p=catalyst.git modules/generic_stage_target.py: Use 'devpts' as mountmap key. Missed in 0c68d30b. Would cause catalyst to fail if snapcache were enabled. Tested-by: Brian Dolbec --- diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 8c983e14..3e60f72a 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -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: