summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2017-04-28 13:48:29 (GMT)
committerRobert Foss <robert.foss@collabora.com>2017-04-28 13:48:29 (GMT)
commitc7ddb8b26c77da252124a01cae39a65bab483110 (patch)
tree55ec481657e5acac3b8eac2c5a3c296afddd42cf
parent389acc58e77d2284734746923a7164198066d1ab (diff)
downloadrdu2-c7ddb8b26c77da252124a01cae39a65bab483110.tar.gz
rdu2-c7ddb8b26c77da252124a01cae39a65bab483110.tar.xz
Provide -b switch to sd flash script
-rwxr-xr-xbuild_android.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/build_android.sh b/build_android.sh
index ca9c824..ef35c4a 100755
--- a/build_android.sh
+++ b/build_android.sh
@@ -172,7 +172,7 @@ flash_android_mmc()
cd ${ANDROID_PATH} && \\
source build/envsetup.sh && \\
lunch linaro_arm-userdebug && \\
- device/linaro/generic/tools/sd-resize-and-flash -d out/target/product/linaro_arm/" || \
+ device/linaro/generic/tools/sd-resize-and-flash -b ${BLK_DEV} -d out/target/product/linaro_arm/" || \
exit 1
}