mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-13 11:05:13 +02:00
misc scripts: add support for arm64 (#12639)
* misc scripts: add support for arm64 * Replace tools.func call that checks arch * Update misc/build.func Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> * Update misc/build.func Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> * Update misc/build.func Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> * Update misc/build.func Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> * build.func: change back to VE * build.func: remove arm64 support for focal, bullseye Legacy support removed since no cts use them anymore. * Improve arm64 support and arch-specific downloads Add clearer architecture error messages and gate arm64 usage, plus implement architecture-aware behavior across the toolkit. Changes include: update exit-code messages to reference amd64/arm64, refuse arm64 unless explicitly enabled, show architecture in summaries, and use arch-specific package lists when installing in containers. Make downloads for FFmpeg and yq choose the correct amd64/arm64 binaries, tighten template download error handling and formatting, and clean up minor whitespace/comment issues. These changes aim to make arm64 handling explicit and downloads/installations more robust for non-amd64 systems. * remove arm64 overlay * update ifupdown2 source * Revert "remove arm64 overlay" This reverts commit231945dfa7. * Revert changes from "Improve arm64 support and arch-specific downloads" * Reapply "Improve arm64 support and arch-specific downloads" This reapplies commit7c051fb648. * Reapply "remove arm64 overlay" This reverts commit866b6950c0. * Redo template name handling * fix template name handling change * add ensure_whiptail function This is required as some arm64 systems will not have whiptail installed, as it is not installed by default. * add arm64_notice function * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Potential fix for pull request finding Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix for copilot detected bugs --------- Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Co-authored-by: CanbiZ (MickLesk) <47820557+MickLesk@users.noreply.github.com> Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -99,7 +99,7 @@ if ! declare -f explain_exit_code &>/dev/null; then
|
||||
103) echo "Validation: Shell is not Bash" ;;
|
||||
104) echo "Validation: Not running as root (or invoked via sudo)" ;;
|
||||
105) echo "Validation: Proxmox VE version not supported" ;;
|
||||
106) echo "Validation: Architecture not supported (ARM / PiMox)" ;;
|
||||
106) echo "Validation: Unsupported architecture (requires amd64 or arm64)" ;;
|
||||
107) echo "Validation: Kernel key parameters unreadable" ;;
|
||||
108) echo "Validation: Kernel key limits exceeded" ;;
|
||||
109) echo "Proxmox: No available container ID after max attempts" ;;
|
||||
|
||||
Reference in New Issue
Block a user