From 50658563e56ecbfa504de1c9e843b5c792b13c7c Mon Sep 17 00:00:00 2001 From: syntaxMORG0 Date: Sun, 7 Jun 2026 01:10:08 +0200 Subject: [PATCH] Added a warning for alternative architectures when adding a package repository --- src/installation/guides/chroot.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/installation/guides/chroot.md b/src/installation/guides/chroot.md index 653322e0..cdeafbb3 100644 --- a/src/installation/guides/chroot.md +++ b/src/installation/guides/chroot.md @@ -95,6 +95,16 @@ variable. A glibc installation, for example, would use: # REPO=https://repo-default.voidlinux.org/current ``` +Note that aarch64 and other non-x86 architectures may require an +architecture-specific repository URL. For example: + +``` +# REPO=https://repo-default.voidlinux.org/current/aarch64 +``` + +Ensure that the repository URL matches the target architecture being installed +otherwise, the installation may fail due to missing repository metadata. + XBPS also needs to know what architecture is being installed. Available options are `x86_64`, `x86_64-musl`, `i686`, `aarch64`, and `aarch64-musl`. For example: