Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

License component

[components.license] adds a license file to Linux packages.

KeyTypeDefaultDescription
license-filestringNonePath 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:

FormatDestination
rpmusr/share/licenses/<package-name>/<filename>
appimage<filename> at the AppDir root
debusr/share/doc/<deb-package-name>/copyright
pkgusr/share/licenses/<pkg-package-name>/<filename>

raw builds do not include the license component.