Skip to main content

check_prerequisites

Function check_prerequisites 

Source
fn check_prerequisites(
    deploy: &DeployManifest,
    cache_root: &Path,
    manifest_dir: &Path,
) -> Result<()>
Expand description

Boot-time prerequisites check:

  • any url-remote package whose cache dir doesn’t exist → warn, clone it inline (so the user isn’t blocked) and tell them to run rbnx build for proper bring-up.
  • any package whose rbnx-build/.rbnx-built sentinel is missing → warn and run its build.sh inline.

Boot’s job is to spawn and atlas-register; fetching and building belong to rbnx build. We do the inline remediation here ONLY so the user isn’t stuck after a fresh clone with no build done — the warnings are deliberately loud so the right path (build first, then boot) stays visible.