summaryrefslogtreecommitdiff
path: root/squashfs_utils
diff options
context:
space:
mode:
authorMohamad Ayyash <mkayyash@google.com>2016-05-24 13:53:53 -0700
committerMohamad Ayyash <mkayyash@google.com>2016-06-13 20:07:44 -0700
commit1908b380f17cfd7eebcf9356c501521902d60e94 (patch)
treedf095c9bdef9fe2d1fd9dbdd01077e0c1ab1e95f /squashfs_utils
parentf2053a3ca0ff4d79eee06e5d14fab06215d373f9 (diff)
downloadextras-1908b380f17cfd7eebcf9356c501521902d60e94.tar.gz
Disable fragments and duplicates detection for squashfs
They don't play nicely with generating block maps. Fragments reduce performance. A later patch will add workaround for duplicate detection. BUG: 22322817 Change-Id: I01c731202ef7a2450b5d1beca627a0158c9cc3b4 Signed-off-by: Mohamad Ayyash <mkayyash@google.com>
Diffstat (limited to 'squashfs_utils')
-rwxr-xr-xsquashfs_utils/mksquashfsimage.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/squashfs_utils/mksquashfsimage.sh b/squashfs_utils/mksquashfsimage.sh
index 28584ea4..05ca4e0b 100755
--- a/squashfs_utils/mksquashfsimage.sh
+++ b/squashfs_utils/mksquashfsimage.sh
@@ -99,7 +99,7 @@ if [ -n "$BLOCK_SIZE" ]; then
OPT="$OPT -b $BLOCK_SIZE"
fi
-MAKE_SQUASHFS_CMD="mksquashfs $SRC_DIR/ $OUTPUT_FILE -no-progress -comp $COMPRESSOR $COMPRESSOR_OPT -no-exports -noappend -no-recovery -android-fs-config $OPT"
+MAKE_SQUASHFS_CMD="mksquashfs $SRC_DIR/ $OUTPUT_FILE -no-progress -comp $COMPRESSOR $COMPRESSOR_OPT -no-exports -noappend -no-recovery -no-fragments -no-duplicates -android-fs-config $OPT"
echo $MAKE_SQUASHFS_CMD
$MAKE_SQUASHFS_CMD