aboutsummaryrefslogtreecommitdiff
path: root/go/chromeos/go_chell_exec
diff options
context:
space:
mode:
Diffstat (limited to 'go/chromeos/go_chell_exec')
-rwxr-xr-xgo/chromeos/go_chell_exec12
1 files changed, 12 insertions, 0 deletions
diff --git a/go/chromeos/go_chell_exec b/go/chromeos/go_chell_exec
new file mode 100755
index 00000000..8fac94bd
--- /dev/null
+++ b/go/chromeos/go_chell_exec
@@ -0,0 +1,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 "$@"