Update the logic to wait for the hardware detection data.

This commit is contained in:
Raphaël Numbus
2026-05-17 19:52:02 +02:00
parent de890387d5
commit 440f4c8fb5
4 changed files with 36 additions and 11 deletions
+10 -2
View File
@@ -772,16 +772,24 @@ echo """
"""
launch_gui
hierarchy_preparation
until [[ -e web/signals/hw_detection_ready ]]; do
until [[ -e "${LIVE_DATA_FILE}" ]]; do
sleep 5
done
LIVE_TARGET_IP="$(yq -r '.live_target.ip' ${LIVE_DATA_FILE})"
LIVE_TARGET_PASSWORD="$(yq -r '.live_target.password' ${LIVE_DATA_FILE})"
DEVICE_TYPE="$(yq -r '.device.type' ${LIVE_DATA_FILE})"
hardware_detection
until [[ -e web/signals/configuration_ready ]]; do
sleep 5
done
until [[ -e web/signals/deployment_ready ]]; do
sleep 5
done
hierarchy_preparation
# --- MAIN LOGIC ---<