Skip to content

Reject unsupported 32-bit ARM installations of Astro, Backlog.md, and Bun #65

Open

Description

@coderabbitai

Summary

The architecture-aware eget mappings select ARM64 assets for Astro, Backlog.md, and Bun on 32-bit ARM hosts.

In .ansible/playbooks/tasks/eget.yml, architectures that contain arm but are not aarch64 map to eget_arch: arm. The three package selectors use their ARM64 branch for every architecture other than x86_64. The install loop does not filter unsupported architectures. This can install incompatible 64-bit binaries on 32-bit ARM hosts.

Required changes

  • Use explicit ARM64 branches for Astro, Backlog.md, and Bun. Select ARM64 assets only when the detected architecture is aarch64 (normalized to eget_arch: arm64).
  • Reject installation of these packages on 32-bit ARM before invoking eget. Provide a clear message identifying the unsupported packages and architecture.
  • Preserve the existing x86_64 and ARM64 behavior, including Bun's Alpine musl selection.
  • Keep other packages that support 32-bit ARM unaffected.

Affected areas

  • .ansible/playbooks/tasks/eget.yml: architecture facts, package mappings, and install loop.
  • .ansible/variables-example.yml: example package list includes all three packages.

Acceptance criteria

  • On x86_64, all three packages retain their existing x86_64 asset selectors.
  • On aarch64, all three packages select their ARM64 assets.
  • On 32-bit ARM, requesting any of these packages fails clearly before its eget installation command runs.
  • Packages that support 32-bit ARM remain installable.
  • Validate selector rendering and the architecture guard for x86_64, aarch64, and a representative 32-bit ARM architecture.

References

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions