[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

new buildd version



Hi,

I uploaded a new version of buildd / sbuild to the wheezy-repository
of buildd.d.o (and this mail is partially also so that I can still
remember all of the changes).

New features:
- uses apt by default, not the internal resolver (which doesn't exist
  anymore), and auto-create the gpg-keys to sign for the apt/aptitude
  resolver
- log mail recipients are taken from wanna-build, and additional
  recipients can be specified by logs_mail_also (so no need to use
  logs_mailed_to anymore - actually I consider this setting to be
  deprecated)
- cherry-pick the fix for binNMUs from trunk


"Details":
- adjusted 99builddsourceslist for the new incoming locations and new
  schroot configuration
- remove suite aliases on chroot creation except for experimental


An upgrade to the current version (on d.o-machines) includes
(parts by DSA, not buildd admin - and with current settings, this
works only for buildds dist-upgraded to wheezy; on the other hand,
there is no reason anymore to not dist-upgrade to wheezy):

- move /etc/apt/preferences.d/buildd away, dist-upgrade, move the file
  back
- mount build-trees at an appropriate place, e.g. /srv/build-trees
  (plus adjust fstab and add an symlink)
- adjust /etc/schroot/build/fstab to the build-trees location
- cleanup config, new config looks like:

.builddrc
---->----
$admin_mail = 'whatever';
$statistics_mail = $admin_mail;

# list of distributions that buildd should take packages from
$defaults =
        {
                built_architecture => 'amd64',
                wanna_build_ssh_host => "buildd.debian.org",
                wanna_build_ssh_user => "buildd_amd64",
                wanna_build_ssh_socket => 'buildd.debian.org.ssh',
                wanna_build_db_user => "buildd_amd64-whatever",
                logs_mail_also => 'blah@....',
                sign_with => "12345678",
        };


$distributions = [
        {
                dist_name => ["squeeze-security", "wheezy-security"],
                dupload_local_queue_dir => "upload-security",
        },
        {
                dist_name => ["sid", "squeeze", "wheezy", "experimental", "wheezy-backports", "squeeze-backports"],
        },
];

$ENV{'DEB_BUILD_OPTIONS'} = 'parallel=4';
----<----
.sbuildrc
---->----
$mailfrom = 'buildd on blub <buildd@....>';
maintainer_name='amd64 Builddd Daemon (......) <buildd_amd64-......@......>';
$sbuild_mode = "buildd";
----<----


Andi


Reply to: