[buildd-tools-devel] Bug#693222: Bug#693222: Bug#693222: sbuild: set --build-dep-resolver (possibly other options) per chroot or distribution
Roger Leigh
rleigh at codelibre.net
Wed Nov 14 16:20:08 UTC 2012
On Wed, Nov 14, 2012 at 04:14:39PM +0000, Roger Leigh wrote:
> On Wed, Nov 14, 2012 at 12:35:22PM +0000, Simon McVittie wrote:
> > Official buildds handle this by having separate unstable, experimental and
> > backports buildds with their own configuration, and setting
> > $build_dep_resolver = 'aptitude' on the experimental and backports buildds.
> >
> > When using a personal sbuild to ensure that the uploaded/tested binaries
> > match what would have been produced by a buildd (which is how I do all of
> > my uploads), it would be useful to be able to switch between modes a
> > little more gracefully than setting --build-dep-resolver for every
> > experimental or backports build.
> >
> > Perhaps something like this? (this is how I anticipate the default would look)
> >
> > $build_dep_resolver = 'apt';
> > $distribution_build_dep_resolvers = {
> > experimental => 'aptitude',
> > 'squeeze-backports' => 'aptitude',
> > 'wheezy-backports' => 'aptitude',
> > 'jessie-backports' => 'aptitude',
> > };
>
> With schroot 1.6 in testing/unstable, I've added the ability to
> add arbitrary additional metadata to the chroot configuration.
> So you can, for example, do this:
>
> [unstable-amd64-sbuild]
> type=btrfs-snapshot
> ...
> sbuild.resolver=aptitude
> sbuild.distribution=experimental
Sorry, I should have also stated that while you can set these
variables right now, sbuild does not yet make use of this feature.
I was planning to add it after the wheezy release.
Regards,
Roger
--
.''`. Roger Leigh
: :' : Debian GNU/Linux http://people.debian.org/~rleigh/
`. `' schroot and sbuild http://alioth.debian.org/projects/buildd-tools
`- GPG Public Key F33D 281D 470A B443 6756 147C 07B3 C8BC 4083 E800
More information about the Buildd-tools-devel
mailing list