diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-01-20 19:12:15 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-01-20 19:12:15 +0000 |
commit | 5c3156822c4296b530c1e912c562b1c274065ec4 (patch) | |
tree | 6bb9262af46d3c8b46139c2c555201fa4364f1b7 /images/make_boot_img | |
parent | 892cfc13886c4493895c6ba074da64950961a3ba (diff) | |
download | drakx-5c3156822c4296b530c1e912c562b1c274065ec4.tar drakx-5c3156822c4296b530c1e912c562b1c274065ec4.tar.gz drakx-5c3156822c4296b530c1e912c562b1c274065ec4.tar.bz2 drakx-5c3156822c4296b530c1e912c562b1c274065ec4.tar.xz drakx-5c3156822c4296b530c1e912c562b1c274065ec4.zip |
smaller stage1: compress initrd with XZ instead of gzip
Diffstat (limited to 'images/make_boot_img')
-rwxr-xr-x | images/make_boot_img | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/images/make_boot_img b/images/make_boot_img index 36aa99389..b3385a95b 100755 --- a/images/make_boot_img +++ b/images/make_boot_img @@ -217,7 +217,7 @@ fi my $devs = sprintf "ls /dev/{%s}", join(',', qw(console fb0 fd0 loop3 mem null ppp ptmx ptyp0 ram3 random tty[0-7] ttyp0 ttyS0 urandom)); - _ "(cd $tmp_initrd; (find . ; $devs) | cpio -o -c --quiet) | gzip -9 > $img"; + _ "(cd $tmp_initrd; (find . ; $devs) | cpio -o -c --quiet) | xz --check=crc32 --lzma2=dict=512KiB > $img"; _ "rm -rf $tmp_initrd"; } |