summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMohamad Ayyash <mkayyash@google.com>2015-06-24 13:04:29 -0700
committerSimon Wilson <simonwilson@google.com>2015-06-24 13:32:43 -0700
commitcc919ca13a0c076a75faef80f6b1a7636801aab3 (patch)
treef7250cb1c14a255d85cdd83b7ac35104696672d6
parenteefe2f9eb99eac4d2e2195a42a146f899516e874 (diff)
downloadextras-cc919ca13a0c076a75faef80f6b1a7636801aab3.tar.gz
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 <mkayyash@google.com>
-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 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