From 368d1eb5564a891c0f4cc3ae0983a3430075369a Mon Sep 17 00:00:00 2001 From: Daniel Campello Date: Tue, 4 Dec 2018 15:22:45 -0700 Subject: 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 Reviewed-on: https://chromium-review.googlesource.com/1362204 Reviewed-by: Simon Glass Reviewed-by: Daisuke Nojiri Reviewed-by: Jett Rink --- util/flash_ec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'util/flash_ec') 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 -- cgit v1.2.1