mirror of
https://github.com/blazblue547-afk/ForgeOS-ARM64.git
synced 2026-12-02 14:44:17 -05:00
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:
1 parent
eb8038ef4c
commit
9e86817361
28 files changed
+631
-1411
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user