release: add signed H7 app fw (#25401)

old-commit-hash: 463774f61c49a323f1ee96e517e4b77a857550a9
This commit is contained in:
Adeeb Shihadeh
2022-08-10 17:52:40 -07:00
committed by GitHub
parent 99ef2b4d02
commit fd00be9741

View File

@@ -40,6 +40,7 @@ cp -pR --parents $(cat $FILES_SRC) $BUILD_DIR/
cd $BUILD_DIR
rm -f panda/board/obj/panda.bin.signed
rm -f panda/board/obj/panda_h7.bin.signed
VERSION=$(cat common/version.h | awk -F[\"-] '{print $2}')
echo "#define COMMA_VERSION \"$VERSION-release\"" > common/version.h
@@ -53,6 +54,7 @@ git branch --set-upstream-to=origin/$RELEASE_BRANCH
pushd panda/
CERT=/data/pandaextra/certs/release RELEASE=1 scons -u .
mv board/obj/panda.bin.signed /tmp/panda.bin.signed
mv board/obj/panda_h7.bin.signed /tmp/panda_h7.bin.signed
popd
# Build
@@ -81,6 +83,7 @@ rm selfdrive/modeld/models/supercombo.dlc
# Move back signed panda fw
mkdir -p panda/board/obj
mv /tmp/panda.bin.signed panda/board/obj/panda.bin.signed
mv /tmp/panda_h7.bin.signed panda/board/obj/panda_h7.bin.signed
# Restore third_party
git checkout third_party/