tazlito rev 26
Increase lzma compression (2-3%)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 01 19:45:43 2008 +0100 (2008-01-01) |
parents | 13454b553908 |
children | 425992aa2ec7 |
files | tazlito |
line diff
1.1 --- a/tazlito Sun Dec 30 12:35:09 2007 +0100 1.2 +++ b/tazlito Tue Jan 01 19:45:43 2008 +0100 1.3 @@ -226,7 +226,7 @@ 1.4 # Use lzma if installed 1.5 if [ -x /usr/bin/lzma -a "$COMPRESSION" != "gzip" ]; then 1.6 echo -n "Generating lzma'ed initramfs... " 1.7 - find . -print | cpio -o -H newc | lzma e -si -so > $DISTRO/$INITRAMFS 1.8 + find . -print | cpio -o -H newc | lzma e -si -so -d26 > $DISTRO/$INITRAMFS 1.9 else 1.10 echo -n "Generating gziped initramfs... " 1.11 find . -print | cpio -o -H newc | gzip -9 > $DISTRO/$INITRAMFS 1.12 @@ -437,7 +437,7 @@ 1.13 cd $TARGET/rootfs 1.14 echo -n "Extracting the rootfs... " 1.15 ( zcat ../rootcd/boot/rootfs.gz 2>/dev/null || \ 1.16 - lzma d ../rootcd/boot/rootfs.?z -so ) | cpio -id 1.17 + unlzma -c ../rootcd/boot/rootfs.?z ) | cpio -id 1.18 # Umount and remove temp directory and cd to $TARGET to get stats. 1.19 umount $TMP_DIR && rm -rf $TMP_DIR 1.20 cd ..