Address review: say what the zephyr apt fallback actually covers

The message named apt being unavailable, but the branch is also taken on
a mirror error, a resolution failure or the timeout firing.
pull/11219/head
Juliusz Sosinowicz 2026-08-27 03:00:51 +00:00
parent e8166219b5
commit bd7c9df646
1 changed files with 3 additions and 1 deletions

View File

@ -207,7 +207,9 @@ APT_OPTS=(-o Acquire::Retries=3 -o Acquire::http::Timeout=30 -o Acquire::https::
sudo timeout -k 10 120 apt-get "${APT_OPTS[@]}" update -qq >/dev/null 2>&1 \
&& sudo timeout -k 10 300 apt-get "${APT_OPTS[@]}" install -y -qq \
python3-venv libnewlib-dev >/dev/null 2>&1 \
|| echo "==> [container] host package install skipped (apt unavailable)"
|| echo "==> [container] host package install skipped (apt update," \
"install or the timeout above failed); the build continues without" \
"python3-venv and libnewlib-dev"
python3 -m venv .venv
source .venv/bin/activate
pip3 install west