fastboot: use set_active instead of oem
BUG=none
Change-Id: Ib78d91604b4c89e5ffd33e7611dc8226c97fa62a
Signed-off-by: Bruce Beare <bruce.j.beare@intel.com>
diff --git a/flash_tools/FlashEdison.json b/flash_tools/FlashEdison.json
index 4309b56..16724c5 100644
--- a/flash_tools/FlashEdison.json
+++ b/flash_tools/FlashEdison.json
@@ -97,7 +97,7 @@
"description": "Setting slot 0 active",
"timeout": 1200000,
"tool": "fastboot",
- "args": "oem set_active 0"
+ "args": "set_active _a"
},
{
"restrict": ["full", "os", "update"],
diff --git a/flash_tools/brillo-flashall-edison.bat b/flash_tools/brillo-flashall-edison.bat
index 4f17f5d..b6e8b90 100755
--- a/flash_tools/brillo-flashall-edison.bat
+++ b/flash_tools/brillo-flashall-edison.bat
@@ -25,4 +25,4 @@
fastboot flash boot_b boot.img
fastboot flash system_b system.img
fastboot flash userdata userdata.img
-fastboot oem set_active 0
+fastboot set_active _a
diff --git a/flash_tools/brillo-flashall-edison.sh b/flash_tools/brillo-flashall-edison.sh
index 761301b..81e54c1 100755
--- a/flash_tools/brillo-flashall-edison.sh
+++ b/flash_tools/brillo-flashall-edison.sh
@@ -41,5 +41,5 @@
flash boot_b "${OS}"/boot.img \
flash system_b "${OS}"/system.img \
flash userdata "${OS}"/userdata.img \
- oem set_active 0 "$@"
-
+ set_active _a \
+ "$@"