dev_server: set up gsutil before using xbuddy
xbuddy has its own gsutil wrapper module which runs gsutil out of the
$PATH. If you don't have it in your $PATH already, it fails with a
missing gsutil error.
Instead, have our wrapper use the existing chromite gs module to set
up a good copy of gsutil and add that to $PATH so we know it'll be
used first.
BUG=brillo:1152
TEST=`cros flash usb:// xbuddy://remote/samus/latest-canary/test` works now
Change-Id: I3b98fe6543381e446042ded246f5c4658abdbb74
Reviewed-on: https://chromium-review.googlesource.com/274304
Reviewed-by: David Pursell <dpursell@chromium.org>
Commit-Queue: Mike Frysinger <vapier@chromium.org>
Tested-by: Mike Frysinger <vapier@chromium.org>
1 file changed