update_chroot: Call flatcar_workon with --host

We want to possibly update workon packages on SDK, not on the default
board.
This commit is contained in:
Krzesimir Nowak 2024-07-02 11:20:40 +02:00
parent e30ca8dab6
commit eba755d96b

View File

@ -235,7 +235,7 @@ fi
# Build flatcar_workon packages when they are changed.
WORKON_PKGS=()
if [[ ${FLAGS_workon} -eq "${FLAGS_TRUE}" ]]; then
mapfile -t WORKON_PKGS < <("${SRC_ROOT}"/scripts/flatcar_workon list)
mapfile -t WORKON_PKGS < <("${SRC_ROOT}"/scripts/flatcar_workon --host list)
fi
if [[ ${#WORKON_PKGS[@]} -gt 0 ]]; then