#!/usr/bin/env bash set -euo pipefail # Build Debian package for the orchestrator using cargo-deb if ! command -v cargo-deb >/dev/null 2>&1; then cargo install cargo-deb fi # Build release binary first for reproducible asset path cargo build -p orchestrator --release --features libvirt # Package orchestrator cargo deb -p orchestrator --no-build echo "\nDebs written under target/debian/*.deb"