The template names the [firmware.image] table (url, SHA-256, MD5, bytes of the
official fastboot archive) and the preflight chain that downloads it, retains
the named inputs, deletes the archive and generates the package binaries; no
extracted firmware lives in a repository.
The tools step mirrors the sheng action: dtc, llvm, lld, cmake, mtools and the
ipsw tap, asserted before the build. The firmware checkout comes with its
submodules; the firmware volume builds from them.
- scripts/package.sh: the shared script, identical to templates/package.sh.
- .github/workflows/package.yml: the packaging action of the device repository,
with the firmware checkout as the value to replace.
- board.toml: [package] unixnu, [package.defconfig], and the commented shapes of
firmware preflight, [bootimg] dtb and an os_override with its remove list.
- AGENTS.md, README.md: the one-command build replaces the per-step command list.
A generic board.toml, defconfig, feeds.toml and local.toml.example that
the driver accepts as it is. Board specific files live in the device
repositories.