mirror of
https://github.com/blazblue547-afk/ForgeOS-ARM64.git
synced 2026-12-02 14:44:17 -05:00
feat: add systemd Nix rootfs
This commit is contained in:
1 parent
9e86817361
commit
1c3099dbac
38 files changed
+735
-1190
No files matched your search
@@ -4,13 +4,17 @@ set -euo pipefail
|
||||
|
||||
source "$(dirname "$0")/common.sh"
|
||||
|
||||
require_cmd curl tar
|
||||
require_cmd curl tar bzip2 gzip xz
|
||||
ensure_dirs
|
||||
|
||||
download "$KERNEL_URL" "$DOWNLOAD_DIR/$KERNEL_TARBALL"
|
||||
download "$BUSYBOX_URL" "$DOWNLOAD_DIR/$BUSYBOX_TARBALL"
|
||||
download "$SYSTEMD_URL" "$DOWNLOAD_DIR/$SYSTEMD_TARBALL"
|
||||
download "$NIX_URL" "$DOWNLOAD_DIR/$NIX_TARBALL"
|
||||
|
||||
extract_tarball "$DOWNLOAD_DIR/$KERNEL_TARBALL" "$KERNEL_SRC_DIR"
|
||||
extract_tarball "$DOWNLOAD_DIR/$BUSYBOX_TARBALL" "$BUSYBOX_SRC_DIR"
|
||||
extract_tarball_into "$DOWNLOAD_DIR/$SYSTEMD_TARBALL" "$SYSTEMD_SRC_DIR"
|
||||
extract_tarball_into "$DOWNLOAD_DIR/$NIX_TARBALL" "$NIX_SRC_DIR"
|
||||
|
||||
msg "sources are ready"
|
||||
Reference in new issue
Block a user