build: also build bootloader during build-docker

pull/2879/head
matejcik 1 year ago
parent a09c404359
commit 331bba9b70

@ -171,14 +171,15 @@ for BITCOIN_ONLY in ${VARIANTS_core[@]}; do
cd /tmp cd /tmp
git clone "$REPOSITORY" trezor-firmware git clone "$REPOSITORY" trezor-firmware
cd trezor-firmware/core cd trezor-firmware/core
ln -s /build build
git checkout "$TAG" git checkout "$TAG"
git submodule update --init --recursive git submodule update --init --recursive
poetry install poetry install
poetry run make clean vendor build_firmware poetry run make clean vendor build_bootloader build_firmware
poetry run ../python/tools/firmware-fingerprint.py \ poetry run ../python/tools/firmware-fingerprint.py \
-o build/firmware/firmware.bin.fingerprint \ -o build/firmware/firmware.bin.fingerprint \
build/firmware/firmware.bin build/firmware/firmware.bin
rm -r /build/*
cp -r build/* /build
chown -R $USER:$GROUP /build chown -R $USER:$GROUP /build
EOF EOF

Loading…
Cancel
Save