mirror of
https://github.com/imjasonh/terraform-playground
synced 2026-07-14 02:16:49 +00:00
- Add scripts/ for downloading official Firecracker and building virtio-fs-enabled firecracker + vmlinux via devtool - Expand README with Quickstart, prerequisites, and concrete paths - Ignore .deps/ build artifacts Co-authored-by: Jason Hall <imjasonh@users.noreply.github.com>
17 lines
551 B
Bash
Executable file
17 lines
551 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Fetch/build host dependencies for a full fc-runner smoke test.
|
|
set -euo pipefail
|
|
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd)"
|
|
export DEPS_DIR="${DEPS_DIR:-$ROOT/.deps}"
|
|
|
|
echo "==> Firecracker with generic vhost-user (for virtio-fs)"
|
|
"$ROOT/scripts/build-firecracker-virtiofs.sh"
|
|
|
|
echo "==> Guest vmlinux with virtio-fs"
|
|
"$ROOT/scripts/build-vmlinux-virtiofs.sh"
|
|
|
|
echo
|
|
echo "Done. Use:"
|
|
echo " export PATH=\"$DEPS_DIR:\$PATH\""
|
|
echo " fc-runner --firecracker $DEPS_DIR/firecracker-virtiofs --kernel $DEPS_DIR/vmlinux-virtiofs ..."
|