From cc919ca13a0c076a75faef80f6b1a7636801aab3 Mon Sep 17 00:00:00 2001 From: Mohamad Ayyash Date: Wed, 24 Jun 2015 13:04:29 -0700 Subject: [PATCH] mksquashfsimage.sh: Add forward slash for SRC_DIR There is a bug in mksquashfs that fails to interpret symlink dirs unless they have a forward slash Change-Id: I64df07d99858a792e1d7af5d11234fe8b75f91ae Signed-off-by: Mohamad Ayyash --- squashfs_utils/mksquashfsimage.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/squashfs_utils/mksquashfsimage.sh b/squashfs_utils/mksquashfsimage.sh index 58333fe7..260a0fd9 100755 --- a/squashfs_utils/mksquashfsimage.sh +++ b/squashfs_utils/mksquashfsimage.sh @@ -72,7 +72,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 -android-fs-config $OPT" echo $MAKE_SQUASHFS_CMD $MAKE_SQUASHFS_CMD -- 2.11.0