{"id":45899396,"url":"https://github.com/techofourown/img-ourbox-matchbox","last_synced_at":"2026-03-17T22:16:01.478Z","repository":{"id":332915346,"uuid":"1135507749","full_name":"techofourown/img-ourbox-matchbox","owner":"techofourown","description":"Build and publish Raspberry Pi Matchbox OS and installer images for OurBox.","archived":false,"fork":false,"pushed_at":"2026-03-08T08:37:43.000Z","size":448,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-03-08T09:12:37.788Z","etag":null,"topics":["airgap","image-build","installer-media","k3s","matchbox","oci-artifacts","ourbox","raspberry-pi"],"latest_commit_sha":null,"homepage":"https://techofourown.com","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/techofourown.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2026-01-16T07:38:15.000Z","updated_at":"2026-03-08T08:37:44.000Z","dependencies_parsed_at":"2026-03-03T10:01:14.386Z","dependency_job_id":null,"html_url":"https://github.com/techofourown/img-ourbox-matchbox","commit_stats":null,"previous_names":["techofourown/img-ourbox-mini-rpi","techofourown/img-ourbox-matchbox"],"tags_count":50,"template":false,"template_full_name":null,"purl":"pkg:github/techofourown/img-ourbox-matchbox","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techofourown%2Fimg-ourbox-matchbox","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techofourown%2Fimg-ourbox-matchbox/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techofourown%2Fimg-ourbox-matchbox/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techofourown%2Fimg-ourbox-matchbox/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/techofourown","download_url":"https://codeload.github.com/techofourown/img-ourbox-matchbox/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/techofourown%2Fimg-ourbox-matchbox/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30633243,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-17T17:32:55.572Z","status":"ssl_error","status_checked_at":"2026-03-17T17:32:38.732Z","response_time":56,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["airgap","image-build","installer-media","k3s","matchbox","oci-artifacts","ourbox","raspberry-pi"],"created_at":"2026-02-27T22:15:19.262Z","updated_at":"2026-03-17T22:16:01.466Z","avatar_url":"https://github.com/techofourown.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# img-ourbox-matchbox\n\nBuild repository for **OurBox Matchbox** OS images and installer substrate targeting\n**Raspberry Pi hardware** (Pi 5 + dual NVMe, Matchbox-class hardware).\n\nThis repo produces an NVMe-bootable OS that mounts `/var/lib/ourbox` and boots into an airgapped\nsingle-node k3s runtime via `ourbox-bootstrap`.\n\nInstaller and maintainer flash flows now use the same storage-role logic:\n\n- you explicitly choose which NVMe becomes `SYSTEM`\n- the other NVMe becomes `DATA` for that install\n- a former `DATA` disk can be repurposed as `SYSTEM` with explicit destructive confirmation\n- preserved `DATA` contents no longer suppress bootstrap permanently; bootstrap re-runs automatically when the shipped contract changes\n\n## Identifiers used by this repo\n\n- **Model ID**: `TOO-OBX-MBX-01` (physical device class)\n- **Default SKU (part number)**: `TOO-OBX-MBX-BASE-001` (exact BOM/software build)\n\nModel identifies the physical hardware class; SKU identifies the exact bill-of-materials and software configuration.\n\n## Docs\n\n- Upstream platform producer: [`sw-ourbox-os`](https://github.com/techofourown/sw-ourbox-os)\n- Platform contract consumption: [`docs/reference/platform-contract.md`](./docs/reference/platform-contract.md)\n- Operator runbook: [`docs/OPS.md`](./docs/OPS.md)\n- Contracts reference: [`docs/reference/contracts.md`](./docs/reference/contracts.md)\n\n## Status\n\n**Official nightly builds are live.** OS and installer artifacts are published automatically on\nevery push to `main` via organization-controlled build infrastructure.\n\n| Channel | OS artifact | Installer artifact |\n|---|---|---|\n| Nightly | `ghcr.io/techofourown/ourbox-matchbox-os:rpi-nightly` | `ghcr.io/techofourown/ourbox-matchbox-installer:rpi-installer-nightly` |\n| Stable | `ghcr.io/techofourown/ourbox-matchbox-os:rpi-stable` | `ghcr.io/techofourown/ourbox-matchbox-installer:rpi-installer-stable` |\n\nStable is promoted on `v*` tag push. All artifacts are digest-addressable OCI artifacts on GHCR.\nSee [`docs/ARTIFACT_PROVENANCE.md`](./docs/ARTIFACT_PROVENANCE.md) for official release channels,\nprovenance metadata, and how to verify artifacts.\n\n## Installing OurBox on a Raspberry Pi\n\n### From official published artifacts (default)\n\n```bash\ngit clone --recurse-submodules https://github.com/techofourown/img-ourbox-matchbox.git\ncd img-ourbox-matchbox\n./tools/prepare-installer-media.sh\n# move media to Pi, boot, follow prompts, device powers off, remove media, boot NVMe\n```\n\n`prepare-installer-media.sh` defaults to pulling the published `rpi-installer-stable` artifact\nfrom GHCR, but that published artifact is now only the Matchbox installer substrate.\nThe wrapper delegates to `sw-ourbox-installer`, which:\n\n- selects the Matchbox target\n- resolves the chosen OS payload on the host\n- resolves the chosen arm64 application bundle on the host\n- stages a local mission directory\n- embeds that mission into the published Matchbox installer substrate\n- flashes the composed mission media to your selected removable/USB device\n\nThe Matchbox target installer itself consumes only the embedded local mission bytes.\nIt does not perform target-time catalog browsing, install-defaults fetches,\nregistry logins, or ORAS pulls.\n\n### Repo-local maintainer build path\n\nThis repo still owns the Matchbox target substrate:\n\n```bash\ngit clone --recurse-submodules https://github.com/techofourown/img-ourbox-matchbox.git\ncd img-ourbox-matchbox\n./tools/fetch-airgap-platform.sh\nsudo -E ./tools/build-image.sh\nsudo -E ./tools/build-installer-image.sh\n```\n\nThose commands rebuild the Matchbox OS payload and the published Matchbox installer\nsubstrate locally. Host-side mission composition and flashing still belong to\n`sw-ourbox-installer`.\n\nSee [`docs/OPS.md`](./docs/OPS.md) for prerequisites and troubleshooting.\n\n## Release pipeline\n\nOfficial artifacts are built and published automatically once the self-hosted builder is running:\n\n- Push to `main` → `official-candidate.yml` → promotable `beta` OS + installer artifacts on `rpi-beta` / `rpi-installer-beta`\n- Daily cron → `integration-nightly.yml` → integration-preview artifacts on `rpi-nightly` / `rpi-installer-nightly`\n- GitHub Release `published` → `official-promote-stable.yml` → promote the existing candidate digest into `rpi-stable` / `rpi-installer-stable`\n- GitHub Release `prereleased` → `official-exp-labs.yml` → promote the existing candidate digest into `rpi-exp-labs` / `rpi-installer-exp-labs`\n\nPublication targets and upstream input pins are repo-defined in `release/`:\n\n- `release/official-artifacts.env` — official GHCR repos and channel names\n- `release/official-inputs.env` — digest-pinned upstream refs (update via PR when `sw-ourbox-os` ships new bundles)\n\nOfficial Matchbox installer builds publish only the Matchbox installer substrate.\nThey do not bake OS-selection defaults or target-time application-bundle defaults into\nthe image. Candidate builds consume the pinned refs in `release/official-inputs.env`;\nscheduled nightly integration builds resolve the latest `sw-ourbox-os` `edge` digests\nat workflow time for the Matchbox OS image build only.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechofourown%2Fimg-ourbox-matchbox","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftechofourown%2Fimg-ourbox-matchbox","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftechofourown%2Fimg-ourbox-matchbox/lists"}