Files
ForgeOS-ARM64/scripts/fetch-sources.sh
T
blazblue547-afk 9e86817361 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.
2026-06-17 12:16:09 -04:00

17 lines
371 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
source "$(dirname "$0")/common.sh"
require_cmd curl tar
ensure_dirs
download "$KERNEL_URL" "$DOWNLOAD_DIR/$KERNEL_TARBALL"
download "$NIX_URL" "$DOWNLOAD_DIR/$NIX_TARBALL"
extract_tarball "$DOWNLOAD_DIR/$KERNEL_TARBALL" "$KERNEL_SRC_DIR"
extract_tarball_into "$DOWNLOAD_DIR/$NIX_TARBALL" "$NIX_SRC_DIR"
msg "sources are ready"