diff options
author | Daniel Campello <campello@chromium.org> | 2018-12-04 15:22:45 -0700 |
---|---|---|
committer | chrome-bot <chrome-bot@chromium.org> | 2018-12-06 22:06:27 -0800 |
commit | 368d1eb5564a891c0f4cc3ae0983a3430075369a (patch) | |
tree | eb5c2a01cf5171536d20432910f1d4aa5c03fb28 /util/flash_ec | |
parent | 4dd1ecfe74fb4ec81652a9376fc2c5603400ec29 (diff) | |
download | chrome-ec-368d1eb5564a891c0f4cc3ae0983a3430075369a.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>
Diffstat (limited to 'util/flash_ec')
-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 547296b27a..1803a523ae 100755 --- a/util/flash_ec +++ b/util/flash_ec @@ -752,8 +752,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 |