From 1fdefaef3f861d075d62e1bb4eb2fded1ba8df39 Mon Sep 17 00:00:00 2001 From: CAT <14349453+ihexon@users.noreply.github.com> Date: Mon, 23 Dec 2024 04:38:33 -0800 Subject: [PATCH] chore(builder): show boot message from CI (#47) --- target_builder/macos_amd64 | 1 + target_builder/macos_arm64 | 1 + 2 files changed, 2 insertions(+) diff --git a/target_builder/macos_amd64 b/target_builder/macos_amd64 index 8871e86..5811e4f 100644 --- a/target_builder/macos_amd64 +++ b/target_builder/macos_amd64 @@ -244,6 +244,7 @@ bootstrap_alpine umount_rootfs clean_mapping bootimage >/tmp/vm_boot_log 2>&1 & +tail -f /tmp/vm_boot_log & while true; do ssh -o ConnectTimeout=1 -o StrictHostKeyChecking=no -i /tmp/ovm_ssh/ovm_id root@127.0.0.1 -p10025 "update-grub && sync && halt" && { echo Update-grub successful diff --git a/target_builder/macos_arm64 b/target_builder/macos_arm64 index 0635dc7..37dca5c 100644 --- a/target_builder/macos_arm64 +++ b/target_builder/macos_arm64 @@ -220,6 +220,7 @@ clean_mapping # Final stage: boot raw disk and do update-grub bootimage >/tmp/vm_boot_log 2>&1 & +tail -f /tmp/vm_boot_log & while true; do ssh -o ConnectTimeout=1 -o StrictHostKeyChecking=no -i /tmp/ovm_ssh/ovm_id root@127.0.0.1 -p10025 "update-grub && sync && halt" && { echo Update-grub successful