Skip to content

Commit 68aba7c

Browse files
add panda bootstubs to release files (#29163)
* add panda bootstubs to release files * Update release/build_release.sh old-commit-hash: fa310d9
1 parent 2ed1f8f commit 68aba7c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

release/build_release.sh

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ git commit -a -m "openpilot v$VERSION release"
5555
# Build panda firmware
5656
pushd panda/
5757
CERT=/data/pandaextra/certs/release RELEASE=1 scons -u .
58-
mv board/obj/panda.bin.signed /tmp/panda.bin.signed
59-
mv board/obj/panda_h7.bin.signed /tmp/panda_h7.bin.signed
58+
mkdir /tmp/panda_obj/
59+
mv board/obj/panda.bin.signed board/obj/panda_h7.bin.signed board/obj/bootstub.panda.bin board/obj/bootstub.panda_h7.bin /tmp/panda_obj/
6060
popd
6161

6262
# Build
@@ -84,8 +84,7 @@ rm selfdrive/modeld/models/supercombo.onnx
8484

8585
# Move back signed panda fw
8686
mkdir -p panda/board/obj
87-
mv /tmp/panda.bin.signed panda/board/obj/panda.bin.signed
88-
mv /tmp/panda_h7.bin.signed panda/board/obj/panda_h7.bin.signed
87+
mv /tmp/panda_obj/* panda/board/obj/
8988

9089
# Restore third_party
9190
git checkout third_party/

0 commit comments

Comments
 (0)