summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2010-01-18 17:05:37 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2010-01-18 17:05:37 +0000
commit64bb92ce05ff934bb093cf8ffa9ba90aacd5733f (patch)
tree1629ffa0f38341a4b765c39013e4d31fa5618a21 /lib
parent5b5513510e11e93ee2d247aa5ad755cca9da62b3 (diff)
downloaddrakiso-64bb92ce05ff934bb093cf8ffa9ba90aacd5733f.tar
drakiso-64bb92ce05ff934bb093cf8ffa9ba90aacd5733f.tar.gz
drakiso-64bb92ce05ff934bb093cf8ffa9ba90aacd5733f.tar.bz2
drakiso-64bb92ce05ff934bb093cf8ffa9ba90aacd5733f.tar.xz
drakiso-64bb92ce05ff934bb093cf8ffa9ba90aacd5733f.zip
set block size in call to mksquashfs
This improves compressed image size by about 10% and was dropped when switching to squashfs4
Diffstat (limited to 'lib')
-rw-r--r--lib/MDV/Draklive/Loopback.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MDV/Draklive/Loopback.pm b/lib/MDV/Draklive/Loopback.pm
index 514de78..ebcc8be 100644
--- a/lib/MDV/Draklive/Loopback.pm
+++ b/lib/MDV/Draklive/Loopback.pm
@@ -36,6 +36,7 @@ our %loop_types;
}
},
'mksquashfs', $src, $dest, '-noappend', '-comp', 'lzma',
+ '-b', '1048576',
#'-processors', 1,
'-ef', $exclude_file,
if_(-f $sort, '-sort', $sort),