tools/edit-livecd | 3 +++
1 file changed, 3 insertions(+)
New commits:
commit 7eff03177f1e36a8e4f425ac768843eab87fc93a
Author: Alan Pevec <apevec(a)redhat.com>
Date: Fri Sep 24 00:55:58 2010 +0200
edit-livecd: add new attribute compress_type
to avoid:
AttributeError: 'LiveImageEditor' object has no attribute
'compress_type'
LiveImageEditor is a special subclass of LiveImageCreator
which does not use parent's initializer so we must set all attributes.
Signed-off-by: Alan Pevec <apevec(a)redhat.com>
diff --git a/tools/edit-livecd b/tools/edit-livecd
index 809b015..c98e652 100755
--- a/tools/edit-livecd
+++ b/tools/edit-livecd
@@ -61,6 +61,9 @@ class LiveImageEditor(LiveImageCreator):
self.tmpdir = "/var/tmp"
"""The directory in which all temporary files will be
created."""
+ self.compress_type = "gzip"
+ """mksquashfs compressor to use."""
+
self.skip_compression = False
"""Controls whether to use squashfs to compress the
image."""