The options have the form --optionname which modify the operation semantics as explained below. They
are applied from left to right, and when options conflict, the option that appear later take precedence.
--buildsourceroot[fakeroot]
The command used to gain root privilege for invoking debian/rulesclean--pbuilderroot[sudo-E]
The command used to gain root privilege for invoking pbuilder.
--pbuildersatisfydepends[/usr/lib/pbuilder/pbuilder-satisfydepends]
The command used to satisfy (i.e. install) build-dependencies.
--architecture
Set architecture. This is currently required when it doesn't match the host architecture.
--auto-debsign
Invoke debsign at the end of pdebuild process.
--debsign-k[key-id]
Pass -k option to debsign to specify which key-id to sign with.
--buildresult[Directoryforbuildresults]
The place where the build result is stored.
Note that for pdebuild, buildresult needs to be specified as a pdebuild option on the command-
line, not as a pbuilder option.
Note that the default value for buildresult is what is defined for pbuilder, which is
/var/cache/pbuilder/result and not ..--configfile[Extraconfigfiletouse]
The configuration file is used, and passed on to pbuilder.
--debbuildopts[optionstopasstodpkg-buildpackage]
The space-delimited list of options are passed to dpkg-buildpackage. This option appends to
pbuilder option --debbuildopts and may also be used to reset the list of options by passing the
empty string.
Multiple options are delimited with spaces.
Note that for pdebuild, dpkg-source is used to build the source package which is given to
pbuilder. This option has no effect on the arguments used to build this source package, but will
control whether the clean target is run first as usual, and any options for dpkg-genchanges will
be passed on.
--use-pdebuild-internal
Uses a different implementation of pdebuild, which calls clean and build inside the chroot, using
bind-mounts.
pdebuild-internal tries to run debian/rules clean inside the chroot. To do so, the working
directory is passed on inside the chroot, in the form of bind-mounting and debuild is run.
This option will not protect the working directory and its parent directories from the build
scripts.
--logfile[filetolog]
Specifies the build logfile to create. The messages generated during execution will be written to
the file, as well as standard output.
--pbuilder[pbuilder]
Specifies which command to invoke as pbuilder.
--help
Show a brief help message.
--[pbuilderoptions]
After the -- symbol, an arbitrary number of pbuilder options can be specified. See pbuilder(8)
for a full list of options.
There is an exception that --buildresult needs to be specified as a pdebuild option before the --
in order to be effective.