Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,16 @@ if [ -d "$SCRIPT_DIR/staging" ]; then
done
fi

# Must install on the HOST, i.e. before the container re-exec below — apt
# installs after it land in the ephemeral build container. flash.sh runs
# natively (it needs the USB port), and NVIDIA's initrd-flash tooling uses
# `strings` (binutils) with no upfront check: on a stock desktop install it
# fails mid-flash with a raw command-not-found.
if [ -z "$IN_BUILD_CONTAINER" ]; then
echo "Installing flash prerequisites"
sudo apt-get install -y -qq binutils
fi

if needs_container; then
run_in_container "$0" "$@"
fi
Expand Down
Loading