mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 11:02:19 +08:00
Harcoding folder name is fine
old-commit-hash: 6737ea286065ebd6914be275f5f43839c1052b7b
This commit is contained in:
@@ -8,12 +8,10 @@ export GIT_AUTHOR_EMAIL="user@comma.ai"
|
||||
|
||||
export GIT_SSH_COMMAND="ssh -i /data/gitkey"
|
||||
|
||||
TARGET_DIR=/data/openpilot/
|
||||
|
||||
# Create folders
|
||||
rm -rf $TARGET_DIR
|
||||
mkdir -p $TARGET_DIR
|
||||
cd $TARGET_DIR
|
||||
rm -rf /data/openpilot
|
||||
mkdir -p /data/openpilot
|
||||
cd /data/openpilot
|
||||
|
||||
# Create git repo
|
||||
git init
|
||||
@@ -33,7 +31,7 @@ git commit -m "openpilot v$VERSION"
|
||||
|
||||
# Build signed panda firmware
|
||||
pushd panda/board/
|
||||
cp -r /tmp/pandaextra $TARGET_DIR
|
||||
cp -r /tmp/pandaextra /data/openpilot/
|
||||
RELEASE=1 make obj/panda.bin
|
||||
mv obj/panda.bin /tmp/panda.bin
|
||||
make clean
|
||||
|
||||
Reference in New Issue
Block a user