summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2009-02-20 16:57:00 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2009-02-20 16:57:00 +0000
commit951036cfe0e587cdfcd9b697bb708f4aa37f325a (patch)
treecdff211fdbaea90bba8c225e111a213c809a431d
parentf1be2be55ce782b3828d06e4fabb35caa9e65cdb (diff)
downloaddrakiso-951036cfe0e587cdfcd9b697bb708f4aa37f325a.tar
drakiso-951036cfe0e587cdfcd9b697bb708f4aa37f325a.tar.gz
drakiso-951036cfe0e587cdfcd9b697bb708f4aa37f325a.tar.bz2
drakiso-951036cfe0e587cdfcd9b697bb708f4aa37f325a.tar.xz
drakiso-951036cfe0e587cdfcd9b697bb708f4aa37f325a.zip
Use 1MB squashfs blocks, this saves nearly 10% on the GNOME One ISO
Thanks Titi. (yep, I mean it :)
-rw-r--r--lib/MDV/Draklive/Loopback.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/MDV/Draklive/Loopback.pm b/lib/MDV/Draklive/Loopback.pm
index 28acea2..6280043 100644
--- a/lib/MDV/Draklive/Loopback.pm
+++ b/lib/MDV/Draklive/Loopback.pm
@@ -30,12 +30,12 @@ our %loop_types;
output_p($exclude_file, map { $root . "$_\n" } grep { -e $root . $_ } @{$dir->{exclude} || []});
my $sort = $live->{settings}{config_root} . '/' . $dir->{sort};
run_foreach(sub {
- if (/^mksquashfs: file .*, uncompressed size (\d+) bytes\s*(?:DUPLICATE|LINK)?$/) {
+ if (/^mksquashfs3: file .*, uncompressed size (\d+) bytes\s*(?:DUPLICATE|LINK)?$/) {
$progress->{current} += $1;
$progress->show(time());
}
},
- 'mksquashfs3', $src, $dest, '-noappend', '-no-progress', '-info', '-lzma',
+ 'mksquashfs3', $src, $dest, '-noappend', '-no-progress', '-info', '-lzma', '-b', '1048576',
#'-processors', 1,
'-ef', $exclude_file,
if_(-f $sort, '-sort', $sort),