This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch inserted_src in repository toolchain/semiautobench.
commit d53cac3f0aae23bded48616b36ead20634be5317 Author: Bernard Ogden bernie.ogden@linaro.org Date: Fri Jul 24 15:47:49 2015 +0200
Add/fix comments/spacing in target setup loop
Change-Id: Ic2643a5ade757a2ad82c277742f128e61f9583ee --- invoke_session_debian | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-)
diff --git a/invoke_session_debian b/invoke_session_debian index 5d99851..b76ddc8 100755 --- a/invoke_session_debian +++ b/invoke_session_debian @@ -102,18 +102,22 @@ for lava_name in `lava-group | grep -v '[[:blank:]]*host$' | [...] if test -z "${target_ip}"; then echo "Failed to find IP for ${lava_name}"; exit 1; fi
#Check that target is accessible, add it to our known_hosts, - #add our one-time key to it's authorized_keys + #add our one-time key to its authorized_keys if ! cat ~/data/onetime.pub | SSH_AUTH_SOCK=~/data/socket ssh -o StrictHostKeyCh [...] echo "Could not access target ${target_ip} (${lava_name})" >&2 exit 1 fi
+ #Generate configuration files for target target_base="$(echo ${lava_name} | sed 's/[[:digit:]]*$//')" #TODO: HACK if test $? -ne 0; then echo "Failed to find target type from ${lava_name}"; exit 1; fi sed "s/^ip=.*/ip=${target_ip}/" "${ABE_DIR}/config/boards/bench/${target_base}.c [...] if test $? -ne 0; then echo "Failed to generate config file for target ${lava_na [...] + cp "${ABE_DIR}/config/boards/bench/${target_base}.services" "${ABE_DIR}/config/b [...] if test $? -ne 0; then echo "Failed to generate services file for target ${lava_ [...] + + #Add target to list for Benchmark.job if test "${#target_names[@]}" -eq 0; then target_names=("${lava_name}") else