feat: add ARM64 OS flavor

Use an ARM64 Debian rootfs bootstrap because the original source-built userspace path depends on native x86_64 host runtime libraries.
This commit is contained in:
blazblue547-afk committed 2026-06-17 12:16:09 -04:00
1 parent eb8038ef4c
commit 9e86817361
28 files changed
+631 -1411

No files matched your search

+2 -2
View File
@@ -7,8 +7,8 @@ source "$(dirname "$0")/common.sh"
require_cmd chmod find head install ln mkdir rsync sort tar
ensure_dirs
[[ "$ARCH" == "x86_64" ]] || die "Nix rootfs staging currently supports ARCH=x86_64 only"
[[ "$NIX_SYSTEM" == "x86_64-linux" ]] || die "Nix rootfs staging currently supports NIX_SYSTEM=x86_64-linux only"
[[ "$ARCH" == "arm64" ]] || die "Nix rootfs staging currently supports ARCH=arm64 only"
[[ "$NIX_SYSTEM" == "aarch64-linux" ]] || die "Nix rootfs staging currently supports NIX_SYSTEM=aarch64-linux only"
[[ -d "$ROOTFS_STAGING_DIR" ]] || die "missing rootfs staging tree: $ROOTFS_STAGING_DIR"
if [[ ! -d "$NIX_SRC_DIR/store" || ! -f "$NIX_SRC_DIR/.reginfo" ]]; then