summaryrefslogtreecommitdiff
path: root/vmdebootstrap
diff options
context:
space:
mode:
authorNeil Williams <codehelp@debian.org>2015-11-11 17:50:02 +0000
committerNeil Williams <codehelp@debian.org>2015-11-11 17:50:02 +0000
commitb563c8208ca0daa26a0ddfd592f65dccbfc2becf (patch)
tree20a319491a97c1c7fc874e64301cc2d9d83994e2 /vmdebootstrap
parent151ad0c7318d34062ebde9a9461a5e33a2d5a020 (diff)
downloadvmdebootstrap-b563c8208ca0daa26a0ddfd592f65dccbfc2becf.tar.gz
create the full squashfs output dir
Diffstat (limited to 'vmdebootstrap')
-rw-r--r--vmdebootstrap/filesystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdebootstrap/filesystem.py b/vmdebootstrap/filesystem.py
index a26145c..fc3c8ee 100644
--- a/vmdebootstrap/filesystem.py
+++ b/vmdebootstrap/filesystem.py
@@ -178,7 +178,7 @@ class Filesystem(Base):
logging.warning("Squash selected but mksquashfs not found!")
return
if not os.path.exists(self.settings['squash']):
- os.mkdir(self.settings['squash'])
+ os.makedirs(self.settings['squash'])
suffixed = os.path.join(self.settings['squash'], "filesystem.squashfs")
if os.path.exists(suffixed):
os.unlink(suffixed)