Skip to content
Snippets Groups Projects
Commit 6a7a1279 authored by Michael Vines's avatar Michael Vines
Browse files

|flash ext| - reload the B2G extensions on device

Change-Id: Ia7a4a0281fd66a16c4bc11a95297e71735ccea83
parent a8a46707
No related branches found
No related tags found
No related merge requests found
......@@ -27,8 +27,16 @@ GECKO_OBJDIR=${ANDROID_BUILD_TOP}/out/target/product/${DEVICE}/obj/objdir-gecko
export GAIA_DOMAIN
flash_fastboot_ext4()
__flash_device()
{
if [ "$1" = "ext" ]; then
run_adb remount
run_adb shell rm -r /system/b2g/distribution/extensions
run_adb push out/target/product/$DEVICE/system/b2g/distribution/extensions /system/b2g/distribution/extensions
run_adb shell rm -r /data/b2g
return
fi
$ADB reboot bootloader
$FASTBOOT devices
......@@ -56,4 +64,4 @@ flash_fastboot_ext4()
fi
}
eval "flash_${DEVICE}() { flash_fastboot_ext4 $1; }"
eval "flash_${DEVICE}() { __flash_device $1; }"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment