From 0e723add5812d3488e64bbd45be5f3d957b94ad0 Mon Sep 17 00:00:00 2001 From: Jacob Dahl Date: Fri, 10 Jul 2026 14:55:25 -0600 Subject: [PATCH] fix(setup): install binutils on the flash host --- setup.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/setup.sh b/setup.sh index b1eb541..8823792 100755 --- a/setup.sh +++ b/setup.sh @@ -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