From b563c8208ca0daa26a0ddfd592f65dccbfc2becf Mon Sep 17 00:00:00 2001 From: Neil Williams Date: Wed, 11 Nov 2015 17:50:02 +0000 Subject: create the full squashfs output dir --- vmdebootstrap/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vmdebootstrap') 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) -- cgit v1.2.1