Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion DESIGN.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ now done and is what `install.sh` and `scripts/build-bundle.sh` produce.
fetches nothing else. Because the config files carry the fixed layout, the paths
above are not configurable at install time.
- **Why urunc is built (at release).** Most components are upstream release
artifacts, hvi among them (`brig-sh/hvi-vmm` `v0.1.0-rc.2`, cosign-verified).
artifacts, hvi among them (`brig-sh/hvi-vmm` `v0.1.0-rc.3`, cosign-verified).
urunc has no release that carries what brig needs, so the build compiles it
from `urunc-dev/urunc` at commit `3c00b69`, on `feat/linux-hvi-v050` (CGO
static, so native per arch under qemu/binfmt). The source is pinned to a
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ urunc, which has none:
| --- | --- | --- |
| brig, brigd, brig-broker | `brig-sh/brig` release | fetched, verified against its signed `checksums.txt` |
| urunc, containerd-shim-urunc-v2 | built from `urunc-dev/urunc` at commit `3c00b69` (branch `feat/linux-hvi-v050`) | CGO-static, built in a Go container |
| hvi | `brig-sh/hvi-vmm` release `v0.1.0-rc.2` (commit `2ed8f61`), the one hull ships on macOS | fetched, musl-static; its `SHA256SUMS` cosign-verified against hvi-vmm's release workflow, the tarball pinned by sha256 |
| hvi | `brig-sh/hvi-vmm` release `v0.1.0-rc.3` (commit `bde7c58`), the first whose Linux build takes `--net-gateway` | fetched, musl-static; its `SHA256SUMS` cosign-verified against hvi-vmm's release workflow, the tarball pinned by sha256 |
| guest kernel, container-initrd | `ghcr.io/nofireai/hull-assets` `0.1.11` | fetched by digest once its cosign signature checks out; the initrd is urunit. urunc's `packaging/container-initrd/urunit.pin` names `48a61bd`; hull-assets `0.1.11` does not record its urunit, so the bundle records that commit as `urunit_expected`. The build refuses a hull-assets bundle built from another urunc |
| monitors, virtiofsd | `urunc-dev/monitors-build` | fetched, pinned by sha256 |
| containerd, runc, nerdctl, CNI | upstream releases | fetched, upstream checksums |
Expand Down
4 changes: 2 additions & 2 deletions docs/variants.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ refuses a stock binary, rather than printing a table of zeroes.
hull-assets bundle as the kernel, which the build refuses unless it was built
from that urunc. urunc is pinned to a commit because a branch tip moves with
every push; the README's build section says how to move it.
4. Settled: `build-bundle.sh` fetches hvi from the `brig-sh/hvi-vmm` release
hull ships on macOS (`v0.1.0-rc.2`). `scripts/fetch-hvi.sh` checks the
4. Settled: `build-bundle.sh` fetches hvi from a `brig-sh/hvi-vmm` release
(`v0.1.0-rc.3`). `scripts/fetch-hvi.sh` checks the
cosign signature on its `SHA256SUMS`, the pinned sha256 of the tarball and
the commit its manifest names.
5. Is `introspection` a variant at all, or `generic-boot` plus an opt-in flag?
Expand Down
8 changes: 4 additions & 4 deletions scripts/build-bundle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -134,10 +134,10 @@ URUNC_GO_IMAGE="${URUNC_GO_IMAGE:-golang:1.26.8}"
# brig-sh/hvi-vmm release hull ships on macOS, static against musl. The tag,
# its commit and the sha256 of each tarball describe one release, so a bump
# changes all four together. scripts/fetch-hvi.sh checks them.
HVI_VERSION=0.1.0-rc.2
HVI_COMMIT=2ed8f61dde8c20facd5f1a3668b170b07fb0eee1
HVI_SHA256_LINUX_AMD64=e62358d9abcf2c8999227ef7ba16c25b57e131467eb4df916bffb68578b9ff25
HVI_SHA256_LINUX_ARM64=3c11e3b1443fb9e39a652a0011ac74d548a7bd05674b6c4115ffbd5a0260e903
HVI_VERSION=0.1.0-rc.3
HVI_COMMIT=bde7c58edf3352e112c7c349448090623390aaec
HVI_SHA256_LINUX_AMD64=150959b450a9f37fbe53122b28f744d49a41bb05d2faae5edcd11e9fe4498b2a
HVI_SHA256_LINUX_ARM64=50370df6adb58e3aaaa2ac9c95fea72f239fd8069c2f2bdca40f684f44f7ed31
# A branch given without a ref would otherwise build the pinned commit and
# ignore the branch, so ask which one was meant.
if [ -n "${URUNC_BRANCH:-}" ] && [ "$URUNC_BRANCH" != "$URUNC_BRANCH_DEFAULT" ] && [ -z "${URUNC_REF+set}" ]; then
Expand Down