leviso-deps

Crates.ioleviso-deps
lib.rsleviso-deps
version0.1.3
created_at2026-01-23 16:34:38.731856+00
updated_at2026-01-24 15:44:52.693846+00
descriptionExternal dependency resolution for LevitateOS build - handles Linux kernel source, Rocky ISO, and installation tools
homepagehttps://github.com/LevitateOS/leviso-deps
repositoryhttps://github.com/LevitateOS/leviso-deps
max_upload_size
id2064933
size161,470
Vince Liem (veighnsche)

documentation

README

leviso-deps

External dependency resolution for Linux distribution builds. Handles downloading and caching of Linux kernel source, Rocky Linux ISOs (via BitTorrent), and installation tools.

Status

Metric Value
Stage Alpha
Target x86_64 Linux
Last verified 2026-01-23

Works

  • Linux kernel source resolution (env var, submodule, or download)
  • Rocky ISO download via BitTorrent with SHA256 verification
  • Installation tools download (recstrap, recfstab, recchroot)
  • Hash-based cache in ~/.cache/levitate/

Known Issues

  • See parent repo issues

Author

[Waiting for human input]


Features

  • Linux Kernel Source: Resolves from environment variable, git submodule, or downloads via shallow clone
  • Rocky ISO: Downloads via BitTorrent with progress tracking and SHA256 verification
  • Installation Tools: Builds from submodule or downloads pre-built binaries (recstrap, recfstab, recchroot)
  • Smart Caching: Uses ~/.cache/levitate/ with hash-based validation

Usage

use leviso_deps::DependencyResolver;

let resolver = DependencyResolver::new(&base_dir)?;

// Resolve Linux kernel source
let linux = resolver.linux()?;

// Resolve Rocky ISO (downloads via torrent if needed)
let rocky = resolver.rocky_iso()?;

// Resolve installation tools
let (recstrap, recfstab, recchroot) = resolver.all_tools()?;

License

MIT

Commit count: 17

cargo fmt