From 541150a7fd4f8f71adb9b015e9d41cfd97998203 Mon Sep 17 00:00:00 2001 From: "Rick Farina (Zero_Chaos)" Date: Thu, 1 Nov 2012 16:05:37 -0400 Subject: [PATCH] prevent creating pointless "tmpfs" dir It seems we are automatically creating the src dir we are trying to mount, although that whole idea is a little wierd, for now I'll just prevent it from doing that when mounting a tmpfs. --- modules/generic_stage_target.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/generic_stage_target.py b/modules/generic_stage_target.py index 450d0fab..578c4af4 100644 --- a/modules/generic_stage_target.py +++ b/modules/generic_stage_target.py @@ -895,7 +895,8 @@ class generic_stage_target(generic_target): os.makedirs(self.settings["chroot_path"]+x,0755) if not os.path.exists(self.mountmap[x]): - os.makedirs(self.mountmap[x],0755) + if not self.mountmap[x] == "tmpfs": + os.makedirs(self.mountmap[x],0755) src=self.mountmap[x] if self.settings.has_key("SNAPCACHE") and x == "/usr/portage": -- 2.26.2