Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(93)

Unified Diff: platform_tools/barelinux/bin/arm64_download

Issue 239243005: arm64_download script waits for VM to boot before finishing. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: AnotherPatchSet Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: platform_tools/barelinux/bin/arm64_download
diff --git a/platform_tools/barelinux/bin/arm64_download b/platform_tools/barelinux/bin/arm64_download
index b43873c943e992ec23df1f4cd7a9246ef70f925d..3b3b0a5390260572af99d5f4555bef9088f558de 100755
--- a/platform_tools/barelinux/bin/arm64_download
+++ b/platform_tools/barelinux/bin/arm64_download
@@ -118,6 +118,12 @@ start_arm64_image() {
--network-nat-subnet="192.168.31.0/24" \
--network-nat-ports="8022=22" \
> /dev/null 2>&1 &
+ echo 'Waiting for foundation model to boot...'
+ while ! ssh -i "${working_dir}/key" \
+ -o NoHostAuthenticationForLocalhost=yes \
+ -p 8022 user@localhost true 2> /dev/null; do
+ sleep 5
+ done
echo 'Listening to SSH on port 8022.'
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698