summaryrefslogtreecommitdiff
path: root/squashfs_utils
diff options
context:
space:
mode:
authorMohamad Ayyash <mkayyash@google.com>2015-06-24 13:04:29 -0700
committerMohamad Ayyash <mkayyash@google.com>2015-06-24 13:41:40 -0700
commit5940c66116015f6b3f2f67526786270f73e59576 (patch)
tree8ae3a467d290dc35894d8b92438cd3b6f0c09f41 /squashfs_utils
parent46b4f7d4288acfbf4c8a4aabcd70a47fa92744d9 (diff)
downloadextras-5940c66116015f6b3f2f67526786270f73e59576.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>
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 7f96cb1f..dbf71669 100755
--- a/squashfs_utils/mksquashfsimage.sh
+++ b/squashfs_utils/mksquashfsimage.sh
@@ -53,7 +53,7 @@ if [ -n "$BLOCK_SIZE" ]; then
OPT="$OPT -b $BLOCK_SIZE"
fi
-MAKE_SQUASHFS_CMD="mksquashfs $SRC_DIR $OUTPUT_FILE -no-progress -comp lz4 -Xhc -no-exports -noappend -no-recovery -android-fs-config $OPT"
+MAKE_SQUASHFS_CMD="mksquashfs $SRC_DIR/ $OUTPUT_FILE -no-progress -comp lz4 -Xhc -no-exports -noappend -no-recovery -android-fs-config $OPT"
echo $MAKE_SQUASHFS_CMD
$MAKE_SQUASHFS_CMD
if [ $? -ne 0 ]; then