Commit 44c59835 authored by Fabian Kosmale's avatar Fabian Kosmale
Browse files

fix sqfs image name

parent 1fdac977
......@@ -30,8 +30,8 @@ class IsoBuilder:
assert os.path.isdir(directory), "mksquash only works on directories!"
if name is None:
name = "{}.img".format(directory)
sqimg = pjoin(self.datadir, "{}.img".format(name))
name = "{}.sqfs".format(directory)
sqimg = pjoin(self.datadir, name)
inform("Generating SquashFS image for {}".format(directory))
# TODO: check if existing image is out of date
inform("Creating SquashFS image. This may take some time...")
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment