This is an automated email from the git hooks/post-receive script.
bernie.ogden pushed a commit to branch remove_hackingisms in repository toolchain/semiautobench.
commit 169dfbd19084f7bdf89caaaa91f0ffa1db1dc816 Author: Bernard Ogden bernie.ogden@linaro.org Date: Fri Jul 24 15:44:53 2015 +0200
Remove hacking session isms
We keep the bit that computes the IP address, even though lava-network will tell us the same thing later - this is for debugging of early problems.
Change-Id: I753801fcc4c051401d0aabb218bb7fd02d33324f --- invoke_session_debian | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-)
diff --git a/invoke_session_debian b/invoke_session_debian index 90ce64f..6e5df43 100755 --- a/invoke_session_debian +++ b/invoke_session_debian @@ -1,5 +1,4 @@ #!/bin/bash -# Usage ./invoke_session <gateway> set -u set -o pipefail
@@ -34,17 +33,11 @@ if test x"$6" = xNone; then else export compiler_flags="$6" fi -echo "Target's Gateway: $gateway" - -if ! grep 'invoke_session' /etc/rc.local -then - sed -i '/bin/a invoke_session &' /etc/rc.local -fi
# Obtain target IP and Hostname ip_addr=$(ifconfig `ip route get $gateway | cut -d ' ' -f3` | grep 'inet addr' |aw [...] hostname=$(cat /etc/hostname) -echo ${ip_addr} +echo "IP address for early debugging: ${ip_addr}"
# Set the PATH to use the LAVA api echo "export PATH=/lava/bin/:$PATH" > ~/.bashrc @@ -84,11 +77,6 @@ if ! ssh -o NoHostAuthenticationForLocalhost=yes localhost true; then exit 1 fi
-echo "" -mkdir -p /run -mkdir -p /run/hacking -echo $$ > /run/hacking/hacking.pid - #Generate config file for each target in multinode job lava-network broadcast eth0 lava-network collect eth0