Format guides
Breadbox supports raw, deb, pkg, rpm and appimage. raw works on any host. The other four
require Linux.
| Format | Host | Host tools | Config section |
|---|---|---|---|
raw | Any | cargo | None |
deb | Linux | dpkg-shlibdeps, dpkg-deb | [formats.deb] |
pkg | Linux | makepkg, fakeroot | [formats.pkg] |
rpm | Linux | rpmbuild | [formats.rpm] |
appimage | Linux | wget, sha256sum | None |
Package names vary by distribution. Install the equivalent packages if a hint does not apply.
Select formats
--format is required for build and doctor. It accepts comma-separated values, several values
after one flag or repeated flags.
breadbox build --format raw
breadbox build -f deb,rpm
breadbox doctor -f appimage
Requesting a format your host does not support is an error.
Host tool hints
| Format | Install hint |
|---|---|
raw | Install Rust with rustup. |
deb | Usually dpkg-dev and dpkg on dpkg-based systems. |
pkg | Usually base-devel on Arch-based systems. |
rpm | Usually rpm-build or rpm-tools. |
appimage | Usually wget and coreutils. |
dpkg-shlibdeps is not needed when [formats.deb] shlibdeps = false. See
Format sections.
Architecture mapping
| Breadbox | raw | deb | pkg | rpm | appimage |
|---|---|---|---|---|---|
x86 | x86 | i386 | i686 | i686 | i386 |
x86_64 | x86_64 | amd64 | x86_64 | x86_64 | x86_64 |
arm | arm | armhf | armv7h | armv7hl | armhf |
aarch64 | aarch64 | arm64 | aarch64 | aarch64 | aarch64 |
Shared config
Linux package formats share the settings in Root keys, Linux settings, Install files and Components. Each guide below covers only what is unique to that format.
Output files
Artifact names are deterministic. A build silently replaces an existing file with the same name in
--out-dir. Move or rename earlier artifacts if you need to keep them.