diff options
author | Christophe Fergeau <cfergeau@mandriva.com> | 2009-02-20 16:57:00 +0000 |
---|---|---|
committer | Christophe Fergeau <cfergeau@mandriva.com> | 2009-02-20 16:57:00 +0000 |
commit | 951036cfe0e587cdfcd9b697bb708f4aa37f325a (patch) | |
tree | cdff211fdbaea90bba8c225e111a213c809a431d /lib/MDV | |
parent | f1be2be55ce782b3828d06e4fabb35caa9e65cdb (diff) | |
download | draklive-951036cfe0e587cdfcd9b697bb708f4aa37f325a.tar draklive-951036cfe0e587cdfcd9b697bb708f4aa37f325a.tar.gz draklive-951036cfe0e587cdfcd9b697bb708f4aa37f325a.tar.bz2 draklive-951036cfe0e587cdfcd9b697bb708f4aa37f325a.tar.xz draklive-951036cfe0e587cdfcd9b697bb708f4aa37f325a.zip |
Use 1MB squashfs blocks, this saves nearly 10% on the GNOME One ISO
Thanks Titi. (yep, I mean it :)
Diffstat (limited to 'lib/MDV')
-rw-r--r-- | lib/MDV/Draklive/Loopback.pm | 4 |
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), |