dpkg-genbuildinfo - generate Debian .buildinfo files
dpkg-genbuildinfo reads information from an unpacked and built Debian source tree and from the files it has generated and generates a Debian control file describing the build environment and the build artifacts (.buildinfo file).
This command was introduced in dpkg 1.18.11.
|Specifies the build type from a comma-separated list of components.
The allowed values are:
|Specifies the main source control file to read information from. The default is debian/control.|
|Specifies the changelog file to read information from. The default is debian/changelog.|
|Specifies where is the list of files that have been produced by the build, rather than using debian/files.|
|Specifies the format of the changelog. See dpkg-parsechangelog(1) for information about alternative formats.|
|Print the buildinfo file to standard output (or filename if specified) rather than to dir/source-name_binary-version_arch.buildinfo (where dir is .. by default or upload-files-dir if -u was used).|
|Look for the files to be uploaded in upload-files-dir rather than .. (dpkg-genbuildinfo needs to find these files so that it can include their sizes and checksums in the .buildinfo file).|
|By default, the Build-Kernel-Version field will not be written out.
Specify this option (since dpkg 1.19.0) to always write a Build-Kernel-Version field when generating the .buildinfo.
|By default, the Build-Path field will only be written if the current directory starts with a whitelisted pattern.
On Debian and derivatives the pattern matches on /build/ at the start of the pathname.
Specify this option to always write a Build-Path field when generating the .buildinfo.
|Change the location of the dpkg database. The default location is /var/lib/dpkg.|
|-q||dpkg-genbuildinfo might produce informative messages on standard error. -q suppresses these messages.|
|Show the usage message and exit.|
|Show the version and exit.|
|This variable can be used to enable or disable various features that affect the information included in the .buildinfo file, via the buildinfo option (since dpkg 1.18.19). This option contains a comma-separated list of features, prefixed with the \(oq+\(cq or \(oq-\(cq modifiers, to denote whether to enable or disable them. The special feature \(lqall\(rq can be used to enable or disable all other features. The feature \(lqpath\(rq controls whether to unconditionally include the Build-Path field.|
|Sets the color mode (since dpkg 1.18.5). The currently accepted values are: auto (default), always and never.|
|If set, it will be used to decide whether to activate Native Language Support, also known as internationalization (or i18n) support (since dpkg 1.19.0). The accepted values are: 0 and 1 (default).|
|The list of generated files. dpkg-genbuildinfo reads the data here when producing a .buildinfo file.|