~cjwatson/launchpad-buildd/loop-mounted-dev

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Mail address where logs are sent to (mandatory, no default!)
$mailto = "buildd-maint\@canonical.com";

# Maintainer name to use in .changes files (mandatory, no default!)
my $fqdn=`hostname --fqdn`;
chomp $fqdn;
$maintainer_name="Launchpad Build Daemon <buildd\@$fqdn>";

# launchpad-buildd does this before sbuild.
$apt_update = 0;
$apt_distupgrade = 0;
# XXX cjwatson 2017-04-26: We should drop this (or at least make it
# conditional so that it only applies in development setups) once the
# trusted keys logic is robust.
$apt_allow_unauthenticated = 1;

$resolve_alternatives = 1;

$build_environment = {
    # sbuild sets LC_ALL=C.UTF-8 by default, so setting LANG as well should
    # be redundant, but do so anyway for compatibility.
    'LANG' => 'C.UTF-8',
    # It's not clear how much sense this makes, but sudo set this as a
    # fallback default, so keep it for compatibility.
    'TERM' => 'unknown',
    # A number of build systems (e.g. automake, Linux) use this as an
    # indication that they should be more verbose.
    'V' => '1',
};

# We want to expose almost nothing from the buildd environment.
# DEB_BUILD_OPTIONS is set by sbuild-package.
$environment_filter = [
    '^DEB_BUILD_OPTIONS$',
    ];

# We're just going to throw the chroot away anyway.
$purge_build_deps = 'never';

# After that time (in minutes) of inactivity a build is terminated.
# Activity
# is measured by output to the log file.
$stalled_pkg_timeout = 150;

$sbuild_mode="buildd";