diff options
author | Daniel Campello <campello@chromium.org> | 2018-12-04 15:22:45 -0700 |
---|---|---|
committer | ChromeOS Commit Bot <chromeos-commit-bot@chromium.org> | 2018-12-18 21:09:07 +0000 |
commit | 4b8d440d9c74401ed65224004f8cad4df2ce3b06 (patch) | |
tree | a55286f6095a1fcb93fe590e7b575156447d4e40 | |
parent | 027237cf8d2690f4c2254beca048ebd8ca641e76 (diff) | |
download | chrome-ec-4b8d440d9c74401ed65224004f8cad4df2ce3b06.tar.gz |
ec-devutils: install config files in a better place
Move config files from /usr/bin/lib to /usr/share/ec-devutils
BRANCH=None
BUG=chromium:889239
TEST=Run flash_ec with the files moved and confirmed it did not die
CQ-DEPEND=CL:1361575
Change-Id: Ifaf3bb31e6096d038f6a9ae9a62c71fe064eedb7
Signed-off-by: Daniel Campello <campello@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/1362204
Reviewed-by: Simon Glass <sjg@chromium.org>
Reviewed-by: Daisuke Nojiri <dnojiri@chromium.org>
Reviewed-by: Jett Rink <jettrink@chromium.org>
Reviewed-on: https://chromium-review.googlesource.com/c/1383205
Commit-Queue: Jett Rink <jettrink@chromium.org>
Tested-by: Jett Rink <jettrink@chromium.org>
Trybot-Ready: Jett Rink <jettrink@chromium.org>
-rwxr-xr-x | util/flash_ec | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/flash_ec b/util/flash_ec index ec3a16903f..72de0f6306 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -749,8 +749,8 @@ function flash_openocd() { OCD_CFG="servo.cfg" if [[ -z "${EC_DIR}" ]]; then # check if we're on beaglebone - if [[ -e "/usr/bin/lib" ]]; then - OCD_PATH="/usr/bin/lib" + if [[ -e "/usr/share/ec-devutils" ]]; then + OCD_PATH="/usr/share/ec-devutils" else die "Cannot locate openocd configs" fi |