Skip to content

misc scripts: add support for arm64#12639

Draft
asylumexp wants to merge 14 commits intomainfrom
arm64-build-support
Draft

misc scripts: add support for arm64#12639
asylumexp wants to merge 14 commits intomainfrom
arm64-build-support

Conversation

@asylumexp
Copy link
Copy Markdown
Member

@asylumexp asylumexp commented Mar 7, 2026

✍️ Description

Adds support for creating arm64 Ubuntu, Debian, and alpine containers via scripts.

✅ Prerequisites (X in brackets)

  • Self-review completed – Code follows project standards.
  • Tested thoroughly – Changes work as expected.
  • No security risks – No hardcoded secrets, unnecessary privilege escalations, or permission issues.

🛠️ Type of Change (X in brackets)

  • 🐞 Bug fix – Resolves an issue without breaking functionality.
  • New feature – Adds new, non-breaking functionality.
  • 💥 Breaking change – Alters existing functionality in a way that may require updates.
  • 🆕 New script – A fully functional and tested script or script set.
  • 🌍 Website update – Changes to website-related JSON files or metadata.
  • 🔧 Refactoring / Code Cleanup – Improves readability or maintainability without changing functionality.
  • 📝 Documentation update – Changes to README, AppName.md, CONTRIBUTING.md, or other docs.

@asylumexp asylumexp marked this pull request as ready for review March 7, 2026 10:12
@asylumexp asylumexp requested a review from a team as a code owner March 7, 2026 10:12
Copy link
Copy Markdown
Member

@michelroegl-brunner michelroegl-brunner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like a solid solution to implement the ARM scripts in the repo. We then dont even need any special calls for the scripts when a user wants to run the arm version. I really like that. As i see for the install script, you just basicly put the arm needed stuff in front of the AMD64 install script?

Copy link
Copy Markdown
Member

@CrazyWolf13 CrazyWolf13 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Was this tested in VED repo?

Should we consider adding a short whitail popup, that arm support is in beta or active development and there may be stuff that is not yet fully tested/working?

misc/build.func Outdated
Comment on lines +5027 to +5034
11 | 11.*) echo "bullseye" ;; 12 | 12.*) echo "bookworm" ;;
13 | 13.*) echo "trixie" ;; *) echo "trixie" ;;
esac ;;
alpine) echo "3.22" ;;
ubuntu)
case "$2" in
20.04* | focal) echo "focal" ;; 24.04* | noble) echo "noble" ;;
24.10* | oracular) echo "oracular" ;; *) echo "jammy" ;;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there keep coming new places where we have to specify version, would it make sense to use shared variables to make updating easier?

Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
asylumexp and others added 6 commits March 11, 2026 09:56
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
Legacy support removed since no cts use them anymore.
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.
@github-actions github-actions bot added the api Changes to the API label Mar 11, 2026
@asylumexp asylumexp marked this pull request as draft March 12, 2026 03:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api Changes to the API core feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants