diff options
Diffstat (limited to 'draklive')
-rwxr-xr-x | draklive | 10 |
1 files changed, 4 insertions, 6 deletions
@@ -39,7 +39,7 @@ use IO::Handle; my $dir_distrib_sqfs = { mountpoint => '/distrib', type => 'squashfs', - path => '/distrib.sqfs', + path => '/distrib-lzma.sqfs', # perl -MMDK::Common -e 'print map_index { (32767 - $::i) . " $_" } grep { !m,^/(?:dev|proc|sys|live/distrib), } uniq(<>)' < bootlog.list > config/distrib.sort sort => "config/distrib.sort", build_from => '/', @@ -230,10 +230,8 @@ my %loop = ( squashfs => { read_only => 1, is_loopback => 1, - modules => [ qw(loop squashfs) ], - extension => '.sqfs', - #modules => [ qw(loop sqlzma squashfs_lzma) ], - #extension => '-lzma.sqfs', + modules => [ qw(loop sqlzma squashfs_lzma) ], + extension => '-lzma.sqfs', build => sub { my ($live, $dir) = @_; my $dest = get_builddir($live) . $live->{prefix}{build}{loopbacks} . $dir->{path}; @@ -252,7 +250,7 @@ my %loop = ( progress_show($progress, time()); } }, - 'mksquashfs', $src, $dest, '-noappend', '-no-progress', '-info', #'-lzma', + 'mksquashfs', $src, $dest, '-noappend', '-no-progress', '-info', '-lzma', '-ef', $exclude_file, if_(-f $sort, '-sort', $sort), ) or die "unable to run mksquashfs\n"; |