summaryrefslogtreecommitdiffstats
path: root/draklive
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-07-11 13:47:52 +0000
committerOlivier Blin <oblin@mandriva.com>2008-07-11 13:47:52 +0000
commita096900d1ce73f7b1ca80160150d9eac34b1d14f (patch)
tree8cbee602dd94092c08d6132064dd397205c0879c /draklive
parent851ab07c4e5d50ccda10d68178c167314aa430f0 (diff)
downloaddrakiso-a096900d1ce73f7b1ca80160150d9eac34b1d14f.tar
drakiso-a096900d1ce73f7b1ca80160150d9eac34b1d14f.tar.gz
drakiso-a096900d1ce73f7b1ca80160150d9eac34b1d14f.tar.bz2
drakiso-a096900d1ce73f7b1ca80160150d9eac34b1d14f.tar.xz
drakiso-a096900d1ce73f7b1ca80160150d9eac34b1d14f.zip
use lzma by default (should be an option)
Diffstat (limited to 'draklive')
-rwxr-xr-xdraklive10
1 files changed, 4 insertions, 6 deletions
diff --git a/draklive b/draklive
index 31e0108..7c718a6 100755
--- a/draklive
+++ b/draklive
@@ -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";