Add in the mess from the original symbiosisware version.
[distorted-chroot] / mess / config / sbuild.conf
CommitLineData
fd0f20e1
MW
1### -*-perl-*-
2
3my $hackdir = "/usr/local.schroot/hacks";
4
5## Default distribution.
6$distribution = "stretch";
7
8## Force an update before trying the build so that we get just-now built
9## versions of our dependencies.
10$apt_update = 1;
11
12## Don't try to upgrade the chroot. That's left for the administator to do.
13$apt_upgrade = 0;
14
15## Wrap the build command up.
16$build_env_cmnd = "$hackdir/buildwrap";
17
18## Use hacked versions of some tools.
19$aptitude = "$hackdir/aptitude";
20$apt_get = "$hackdir/apt-get";
21
22## Make sure Scratchbox can find its configuration while we're in the
23## chroot, even after `HOME' has been swizzled.
24$environment_filter = [
25 '^PATH$',
26 '^DEB(IAN|SIGN)?_[A-Z_]+$',
27 '^(C(PP|XX)?|LD|F)FLAGS(_APPEND)?$',
28 '^USER(NAME)?$',
29 '^LOGNAME$',
30 '^HOME$',
31 '^TERM$',
32 '^SBOX_HOME$',
33 '^SHELL$'
34];
35
36## Use the `/private' space constructed by the `sbuild' profile.
37$build_environment = {
38 "TMPDIR" => "/private",
39};
40
41## Actually resolve alternatives properly.
42$resolve_alternatives = 1;
43
44## Don't do anything clever if the build dependencies fail. The clever thing
45## doesn't work on older distributions. Also, it takes extra time, and
46## that's not desirable.
47$bd_uninstallable_explainer = "apt";
48
491;