From: Rick Farina (Zero_Chaos) Date: Thu, 1 Nov 2012 20:05:37 +0000 (-0400) Subject: prevent creating pointless "tmpfs" dir X-Git-Tag: catalyst-2.0.12.1~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=541150a7fd4f8f71adb9b015e9d41cfd97998203;p=catalyst.git 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. --- 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":