Use blocksize of 256 when running mksquashfs-lzma binary
authorMichael Prokop <mika@grml.org>
Fri, 11 Sep 2009 00:53:47 +0000 (02:53 +0200)
committerMichael Prokop <mika@grml.org>
Fri, 11 Sep 2009 00:53:47 +0000 (02:53 +0200)
grml-live

index 3f98326..66075e8 100755 (executable)
--- a/grml-live
+++ b/grml-live
@@ -889,6 +889,10 @@ else
                   ;;
                esac
             fi
+
+            # if we still want to use mksquashfs-lzma then let's choose
+            # blocksize 256k as this gives best result with regards to time + comopression
+            [[ "$SQUASHFS_BINARY" == "mksquashfs-lzma" ]] && SQUASHFS_OPTIONS="-b 256k"
          fi
 
       fi