# HG changeset patch # User Pascal Bellard # Date 1199213143 -3600 # Node ID 6bce33dccc547aac2ad51373e1216b6ca15b6e5e # Parent 13454b553908db689cc54193a3dbce83736036b3 Increase lzma compression (2-3%) diff -r 13454b553908 -r 6bce33dccc54 tazlito --- a/tazlito Sun Dec 30 12:35:09 2007 +0100 +++ b/tazlito Tue Jan 01 19:45:43 2008 +0100 @@ -226,7 +226,7 @@ # Use lzma if installed if [ -x /usr/bin/lzma -a "$COMPRESSION" != "gzip" ]; then echo -n "Generating lzma'ed initramfs... " - find . -print | cpio -o -H newc | lzma e -si -so > $DISTRO/$INITRAMFS + find . -print | cpio -o -H newc | lzma e -si -so -d26 > $DISTRO/$INITRAMFS else echo -n "Generating gziped initramfs... " find . -print | cpio -o -H newc | gzip -9 > $DISTRO/$INITRAMFS @@ -437,7 +437,7 @@ cd $TARGET/rootfs echo -n "Extracting the rootfs... " ( zcat ../rootcd/boot/rootfs.gz 2>/dev/null || \ - lzma d ../rootcd/boot/rootfs.?z -so ) | cpio -id + unlzma -c ../rootcd/boot/rootfs.?z ) | cpio -id # Umount and remove temp directory and cd to $TARGET to get stats. umount $TMP_DIR && rm -rf $TMP_DIR cd ..