Mac mini support: arm64 cross-build installed beside the binary and pushed by arch; ARM machine name from the device tree

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
Mitchell-Johnson
2026-09-18 14:13:09 -07:00
co-authored by Claude Fable 5.1
parent b6502ba362
commit a372378098
6 changed files with 28 additions and 4 deletions
+4
View File
@@ -19,6 +19,10 @@ sed -e "s|@USER@|$USER_NAME|g" -e "s|@GROUP@|$GROUP_NAME|g" -e "s|@HOME@|$HOME_D
deploy/hamlab.service > "$unit"
sudo install -m 0755 bin/hamlab "$PREFIX/hamlab"
# other-architecture builds sit beside the binary so the hub can push them to matching machines
for alt in bin/hamlab-linux-*; do
[ -f "$alt" ] && sudo install -m 0755 "$alt" "$PREFIX/hamlab-${alt##*-linux-}"
done
sudo install -m 0644 "$unit" /etc/systemd/system/hamlab.service
rm -f "$unit"
sudo systemctl daemon-reload