Use photon-image-modifier for Pi images (#1081)

Upgrades to Debian 12 as the base for our Pi images and adds an orange pi 5 build.

This uses the latest stable libcamera, which has weird AWB bugs with the OV5647/pi camera v1.
This commit is contained in:
Matt
2024-01-04 07:57:45 -07:00
committed by GitHub
parent dcf01f8b9e
commit cba70d47ff
2 changed files with 10 additions and 4 deletions

View File

@@ -10,9 +10,9 @@ NEW_JAR=$(realpath $(find . -name photonvision\*-linuxarm64.jar))
echo "Using jar: " $NEW_JAR
echo "Downloading image from" $1
sudo apt-get install -y xz-utils
curl -sk $1 | grep "browser_download_url.*xz" | cut -d : -f 2,3 | tr -d '"' | wget -qi -
wget -q $1
ls
FILE_NAME=$(ls | grep image_*.xz)
FILE_NAME=$(ls | grep *.xz)
if [ -z "$FILE_NAME" ]
then