buildd.conf is a Perl script which is sourced by buildd to permit
configuration. It is run in a sandbox and restricted to setting a small number
of variables, detailed below, which may be set to configure the behaviour of
buildd. Each variable has an internal name, shown in all caps, and a perl
variable showing the default setting. Note that the internal name is not
accessible within buildd.conf; only the variable may be assigned. Also note
that some of the defaults are set to be unique for each build, and so some of
the defaults shown here are unique to the user and system used to build sbuild,
and will be different for your system.
While buildd permits many aspects of its behaviour to be configured, this
should not normally be required. The defaults should be adequate for most
uses, and should only be changed if you are doing something more advanced, or
have specialist requirements.
CONFIGURATION
Build environment
PATH
STRING type.
PATH to set when running dpkg-buildpackage.
STRING type.
Default distribution. By default, no distribution is defined, and the user
must specify it with the -d option. However, a default may be configured
here if desired. Users must take care not to upload to the wrong
distribution when this option is set, for example experimental packages
will be built for upload to unstable when this is not what is required.
Default:
$distribution = undef;
DISTRIBUTIONS
ARRAY:HASH:SCALAR type.
List of distributions that buildd should take packages from
Example:
$distributions = [
{
# name of the suite to build (also used to query wanna-build)
dist_name => ["unstable", "testing"],
# architecture to be built (will be passed to sbuild and can be
# used to compute wanna_build_db_name
built_architecture => undef,
# host on which wanna-build is run
wanna_build_ssh_host => "buildd.debian.org",
# user as who we are going to connect to the host running wanna-build
wanna_build_ssh_user => "buildd_arch",
# SSH control socket path for ssh -S option
wanna_build_ssh_socket => "",
# Additional SSH options used when connecting
wanna_build_ssh_options => [],
# database used for wanna-build
wanna_build_db_name => "arch/build-db",
# Username to use for wanna-build.
wanna_build_db_user => $Buildd::username,
# Local queue directory where binaries are stored before uploaded
# by dupload. You need to configure this directory in
# @upload_queues to get packages uploaded from there.
dupload_local_queue_dir => "upload",
# list of packages which shouldn't be picked up by buildd
no_auto_build => [],
# list of packages which should only be taken if there absolutely
# nothing else to do (probably packages included in no_auto_build