1
0
Fork 0

use sandbox path to get SSH key

This commit is contained in:
Sebastien Bourdeauducq 2019-03-14 14:13:42 +08:00
parent 01852ed4bd
commit d1b5bf9099
1 changed files with 1 additions and 2 deletions

View File

@ -52,13 +52,12 @@ in
artiqpkgs.openocd
pkgs.iputils
];
sshKey = /var/lib/hydra/queue-runner/.ssh/id_rsa;
phases = [ "buildPhase" ];
buildPhase =
''
export HOME=`mktemp -d`
mkdir $HOME/.ssh
cp ${sshKey} $HOME/.ssh/id_rsa
cp /opt/hydra_id_rsa $HOME/.ssh/id_rsa
artiq_flash -t kc705 -H rpi
sleep 15
# ping: socket: Operation not permitted