summaryrefslogtreecommitdiffstats
path: root/lib/MDV/Draklive
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MDV/Draklive')
-rw-r--r--lib/MDV/Draklive/Loopback.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/MDV/Draklive/Loopback.pm b/lib/MDV/Draklive/Loopback.pm
index 4429574..514de78 100644
--- a/lib/MDV/Draklive/Loopback.pm
+++ b/lib/MDV/Draklive/Loopback.pm
@@ -15,7 +15,7 @@ our %loop_types;
squashfs => {
read_only => 1,
is_loopback => 1,
- modules => [ qw(loop sqlzma squashfs_lzma) ],
+ modules => [ qw(loop squashfs) ],
extension => '-lzma.sqfs',
build => sub {
my ($live, $dir) = @_;
@@ -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 (/^mksquashfs3: file .*, uncompressed size (\d+) bytes\s*(?:DUPLICATE|LINK)?$/) {
+ if (/^mksquashfs: file .*, uncompressed size (\d+) bytes\s*(?:DUPLICATE|LINK)?$/) {
$progress->{current} += $1;
$progress->show(time());
}
},
- 'mksquashfs3', $src, $dest, '-noappend', '-no-progress', '-info', '-lzma', '-b', '1048576',
+ 'mksquashfs', $src, $dest, '-noappend', '-comp', 'lzma',
#'-processors', 1,
'-ef', $exclude_file,
if_(-f $sort, '-sort', $sort),