diff options
author | Neil Williams <codehelp@debian.org> | 2015-11-11 17:50:02 +0000 |
---|---|---|
committer | Neil Williams <codehelp@debian.org> | 2015-11-11 17:50:02 +0000 |
commit | b563c8208ca0daa26a0ddfd592f65dccbfc2becf (patch) | |
tree | 20a319491a97c1c7fc874e64301cc2d9d83994e2 | |
parent | 151ad0c7318d34062ebde9a9461a5e33a2d5a020 (diff) | |
download | vmdebootstrap-b563c8208ca0daa26a0ddfd592f65dccbfc2becf.tar.gz |
create the full squashfs output dir
-rw-r--r-- | vmdebootstrap/filesystem.py | 2 |
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) |