mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-19 00:41:41 +00:00
Rewrite ARM builds to use arm-runner-action to resolve OrangePi5 images (#1143)
This commit is contained in:
12
scripts/armrunner.sh
Normal file
12
scripts/armrunner.sh
Normal file
@@ -0,0 +1,12 @@
|
||||
###
|
||||
# Alternative ARM Runner installer to setup PhotonVision JAR
|
||||
# for ARM based builds such as Raspberry Pi, Orange Pi, etc.
|
||||
# This assumes that the image provided to arm-runner-action contains
|
||||
# the servicefile needed to auto-launch PhotonVision.
|
||||
###
|
||||
NEW_JAR=$(realpath $(find . -name photonvision\*-linuxarm64.jar))
|
||||
echo "Using jar: " $(basename $NEW_JAR)
|
||||
|
||||
DEST_PV_LOCATION=/opt/photonvision
|
||||
sudo mkdir -p $DEST_PV_LOCATION
|
||||
sudo cp $NEW_JAR ${DEST_PV_LOCATION}/photonvision.jar
|
||||
Reference in New Issue
Block a user