From 951036cfe0e587cdfcd9b697bb708f4aa37f325a Mon Sep 17 00:00:00 2001 From: Christophe Fergeau Date: Fri, 20 Feb 2009 16:57:00 +0000 Subject: Use 1MB squashfs blocks, this saves nearly 10% on the GNOME One ISO Thanks Titi. (yep, I mean it :) --- lib/MDV/Draklive/Loopback.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') 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), -- cgit v1.2.1