License component
[components.license] adds a license file to Linux packages.
| Key | Type | Default | Description |
|---|---|---|---|
license-file | string | None | Path to a license file. Setting it enables the component. |
[components.license]
license-file = "LICENSE"
When you select a Linux package format, the path must be non-blank and name an existing file. Relative paths use the project root. Absolute paths are used as written. Breadbox places the license at:
| Format | Destination |
|---|---|
rpm | usr/share/licenses/<package-name>/<filename> |
appimage | <filename> at the AppDir root |
deb | usr/share/doc/<deb-package-name>/copyright |
pkg | usr/share/licenses/<pkg-package-name>/<filename> |
raw builds do not include the license component.