Have downloader rsync everything at once for speed
This speeds up the copy *significantly*. The extra SSH calls were
adding up to a lot of extra cost. 3 seconds for a NOP download!
Do this by building up a folder that looks like what the target should
look like, and then rsync that all in 1 go.
While we are here, rename .stripped to not have the extension. It makes
the commands harder to remember.
Change-Id: I50e50c90421e049f48af453c8113d7c2204c7774
Signed-off-by: Austin Schuh <austin.linux@gmail.com>
diff --git a/aos/starter/starter.sh b/aos/starter/starter.sh
index 68d567a..2c8494e 100755
--- a/aos/starter/starter.sh
+++ b/aos/starter/starter.sh
@@ -17,5 +17,5 @@
cd "${ROBOT_CODE}"
export PATH="${PATH}:${ROBOT_CODE}"
while true; do
- starterd.stripped 2>&1
+ starterd 2>&1
done