Compare commits
10 Commits
Author | SHA1 | Date | |
---|---|---|---|
|
65594863dd | ||
|
105563ce84 | ||
|
57d08617ec | ||
|
2a90473e01 | ||
|
bec3f0e420 | ||
|
73a30b9fd1 | ||
|
8e2aad7b90 | ||
|
cc973c670e | ||
|
fec9a4b60a | ||
|
b5609cdf46 |
21
.gitignore
vendored
21
.gitignore
vendored
@ -1,20 +1 @@
|
||||
/livecd-tools-21.0.tar.bz2
|
||||
/livecd-tools-21.1.tar.bz2
|
||||
/livecd-tools-21.2.tar.bz2
|
||||
/livecd-tools-21.3.tar.bz2
|
||||
/livecd-tools-21.4.tar.bz2
|
||||
/livecd-tools-23.0.tar.bz2
|
||||
/livecd-tools-23.1.tar.gz
|
||||
/livecd-tools-23.2.tar.gz
|
||||
/livecd-tools-23.3.tar.gz
|
||||
/livecd-tools-23.4.tar.gz
|
||||
/livecd-tools-24.0.tar.gz
|
||||
/livecd-tools-24.1.tar.gz
|
||||
/livecd-tools-24.2.tar.gz
|
||||
/livecd-tools-24.3.tar.gz
|
||||
/livecd-tools-24.4.tar.gz
|
||||
/livecd-tools-25.0.tar.gz
|
||||
/livecd-tools-26.0.tar.gz
|
||||
/livecd-tools-26.1.tar.gz
|
||||
/livecd-tools-27.0.tar.gz
|
||||
/livecd-tools-27.1.tar.gz
|
||||
livecd-tools-031.tar.bz2
|
||||
|
58
gzip.patch
Normal file
58
gzip.patch
Normal file
@ -0,0 +1,58 @@
|
||||
diff --git a/docs/livecd-creator.pod b/docs/livecd-creator.pod
|
||||
index 880ae19..e80a119 100644
|
||||
--- a/docs/livecd-creator.pod
|
||||
+++ b/docs/livecd-creator.pod
|
||||
@@ -42,8 +42,8 @@ Defines the file system label. The default is based on the configuration name.
|
||||
|
||||
=item --compression-type=COMPRESSOR
|
||||
|
||||
-Specify a compressor recognized by mksquashfs. The default is zlib. lzma
|
||||
-currently requires a custom kernel to produce a functional image. If zlib
|
||||
+Specify a compressor recognized by mksquashfs. The default is gzip. lzma
|
||||
+currently requires a custom kernel to produce a functional image. If gzip
|
||||
is used, the -comp option is not passed to mksquashfs to allow the use of
|
||||
older versions of mksquashfs.
|
||||
|
||||
diff --git a/imgcreate/fs.py b/imgcreate/fs.py
|
||||
index c5cd18b..554d1b9 100644
|
||||
--- a/imgcreate/fs.py
|
||||
+++ b/imgcreate/fs.py
|
||||
@@ -41,8 +41,8 @@ def makedirs(dirname):
|
||||
raise
|
||||
|
||||
def mksquashfs(in_img, out_img, compress_type):
|
||||
-# Allow zlib to work for older versions of mksquashfs
|
||||
- if compress_type == "zlib":
|
||||
+# Allow gzip to work for older versions of mksquashfs
|
||||
+ if compress_type == "gzip":
|
||||
args = ["/sbin/mksquashfs", in_img, out_img]
|
||||
else:
|
||||
args = ["/sbin/mksquashfs", in_img, out_img, "-comp", compress_type]
|
||||
diff --git a/imgcreate/live.py b/imgcreate/live.py
|
||||
index 36fef63..f349a1f 100644
|
||||
--- a/imgcreate/live.py
|
||||
+++ b/imgcreate/live.py
|
||||
@@ -46,7 +46,7 @@ class LiveImageCreatorBase(LoopImageCreator):
|
||||
"""
|
||||
LoopImageCreator.__init__(self, *args)
|
||||
|
||||
- self.compress_type = "zlib"
|
||||
+ self.compress_type = "gzip"
|
||||
"""mksquashfs compressor to use."""
|
||||
|
||||
self.skip_compression = False
|
||||
diff --git a/tools/livecd-creator b/tools/livecd-creator
|
||||
index 79fc944..d1727c5 100755
|
||||
--- a/tools/livecd-creator
|
||||
+++ b/tools/livecd-creator
|
||||
@@ -42,8 +42,8 @@ def parse_options(args):
|
||||
imgopt.add_option("-f", "--fslabel", type="string", dest="fs_label",
|
||||
help="File system label (default based on config name)")
|
||||
imgopt.add_option("", "--compression-type", type="string", dest="compress_type",
|
||||
- help="Compression type recognized by mksquashfs (default zlib, lzma needs custom kernel)",
|
||||
- default="zlib")
|
||||
+ help="Compression type recognized by mksquashfs (default gzip, lzma needs custom kernel)",
|
||||
+ default="gzip")
|
||||
parser.add_option_group(imgopt)
|
||||
|
||||
# options related to the config of your system
|
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user