[Buildd-tools-devel] Bug#474160: [patch] Add -c/--chroot option to sbuild

Simon McVittie smcv at ianadd.pseudorandom.co.uk
Sun Apr 13 16:32:14 UTC 2008


Here's a first go at a patch for my feature request #474160. Please see
the attached patch (which is relative to
git://git.debian.org/git/buildd-tools/sbuild.git branch "master"),
or git://git.debian.org/~smcv-guest/sbuild.git branch "master".

For the moment, sbuild-apt etc. all interpret their parameter as a
distribution (so sbuild will prefer a chroot called unstable-i386-sbuild
or whatever, if you ask for unstable), but perhaps they should use chroot
names too. I'd be happy to add this; if this is preferred, I think the logic
for choosing unstable-i386-sbuild should move out of
Sbuild::Chroot::begin_session() into the sbuild script itself, and
Sbuild::Chroot should entirely work in terms of chroot names rather than
distribution names.

    Simon
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-sbuild-add-a-c-chroot-option-to-override-the-dis.patch
Type: text/x-diff
Size: 7631 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080413/cd44f8a4/attachment.patch 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 155 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20080413/cd44f8a4/attachment.pgp 


More information about the Buildd-tools-devel mailing list