aboutsummaryrefslogtreecommitdiff
path: root/go/chromeos/go_chell_exec
blob: 8fac94bd123a674201e8f4e19fa79e222c1ac3a5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/bash

# Copy and remotely execute a binary on the chell device.
#
# For this to work, the corresponding entry must exist in
# ~/.ssh/config and the device must already be setup for
# password-less authentication. See setup instructions at
# http://go/chromeos-toolchain-team/go-toolchain

GOOS="linux" GOARCH="amd64" \
	GOLOADER="/tmp/glibc/ld.so" \
	exec go_target_exec chell "$@"