commit | 86a67ade36a472e8a2da6fcefd2d3e57b19e73ef | [log] [tgz] |
---|---|---|
author | Ari Hausman-Cohen <arihc@google.com> | Thu May 05 16:16:26 2016 -0700 |
committer | Ari Hausman-Cohen <arihc@google.com> | Fri May 06 19:47:37 2016 +0000 |
tree | d1fc7921770811620d644d113e3461e9255e09c6 | |
parent | 1c2354a5657d9b447eefc7162b62159f28d1f5cc [diff] |
bdk flash now uses correct provision-device script Provision device script (at least Intel's) expects to be in $ANDROID_PRODUCT_OUT. But bdk flash was using the one from the platform $ANDROID_PRODUCT_OUT, then re-setting $ANDROID_PRODUCT_OUT to point to the special flashing dir. In this particular case, Intel's script searches the local dir first, and thus found the default platform system.img instead of the bdk-built one. This fixes bdk flash to instead use the provision-device located in the flashing dir (which happens to just be a link to the other, but that's besides the point). It also updates all tools to just use env variables in their paths, so that if those variables change, the tool path does too. BUG: 28564349 TEST: unit tests pass. Added unit test that failed before this fix and passed afterwards. Manual runs of `bdk2 build image` and `bdk2 root provision` result in expected behavior (user artifacts on the device). Change-Id: I505298b702706df79cc2e68bb1c1a81ead14f55d
This is the bdk which is used to build Brillo.
bdk
tool.