aboutsummaryrefslogtreecommitdiffstats
path: root/squashfu
diff options
context:
space:
mode:
Diffstat (limited to 'squashfu')
-rwxr-xr-xsquashfu4
1 files changed, 2 insertions, 2 deletions
diff --git a/squashfu b/squashfu
index b923fca..cc91e33 100755
--- a/squashfu
+++ b/squashfu
@@ -29,7 +29,7 @@ create_new_squash () {
# If making first seed, create it directly from source
if [[ $1 -eq -1 ]]; then
info "Creating seed from sources (this may take a while)"
- mksquashfs "${INCLUDES[@]}" "$SEED" -b 65536 -e "${EXCLUDES[@]}" >/dev/null
+ mksquashfs "${INCLUDES[@]}" "$SEED" -b 65536 -e "${EXCLUDES[@]}" -comp "$COMPRESSION_ALGO" ${COMPRESSION_ARGS[@]} > /dev/null
if [[ $? -eq 0 ]]; then
mount_squash
info "Seed creation finished. It has been mounted at "$SQUASH_MOUNT" if you would like to make sure the proper files are included"
@@ -47,7 +47,7 @@ create_new_squash () {
info "Merging old incrementals"
# Create new squash with temp name, exiting on failure
- mksquashfs "$UNION_MOUNT" "$SEED.replace" -b 65536 >/dev/null || return 1
+ mksquashfs "$UNION_MOUNT" "$SEED.replace" -b 65536 -comp "$COMPRESSION_ALGO" ${COMPRESSION_ARGS[@]} > /dev/null || return 1
unmount_all