From 1ed3b9c847a590b58478cc75b29203a084ee184b Mon Sep 17 00:00:00 2001 From: Matt Date: Sat, 31 Dec 2022 09:50:01 -0800 Subject: [PATCH] Only grab arm64 JARs when downloading photon --- stage2/01-sys-tweaks/01-run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stage2/01-sys-tweaks/01-run.sh b/stage2/01-sys-tweaks/01-run.sh index 5d4a6fcb42..eb4c8a8b79 100755 --- a/stage2/01-sys-tweaks/01-run.sh +++ b/stage2/01-sys-tweaks/01-run.sh @@ -24,7 +24,7 @@ fi mkdir -p "${ROOTFS_DIR}/opt/photonvision" curl -sk "https://api.github.com/repos/photonvision/photonvision/releases/latest" | - grep "browser_download_url.*jar" | + grep "browser_download_url.*linuxarm64\.jar" | cut -d : -f 2,3 | tr -d '"' | wget -qi - -O "${ROOTFS_DIR}/opt/photonvision/photonvision.jar"