[buildd-tools-devel] Bug#609658: Bug#609658: sbuild: $purge_build_directory = 'never' results in schroot session not ended

Roger Leigh rleigh at codelibre.net
Sun Feb 27 15:51:24 UTC 2011


tags 609658 + fixed-upstream pending
thanks

On Tue, Jan 11, 2011 at 11:36:00AM +0100, Ansgar Burchardt wrote:
> I use sbuild with btrfs snapshots. With 0.60.6-1 I set
>   $purge_build_directory = 'never'
> as suggested in the changelog to avoid having to wait for removal of the build
> directory (as it should be removed together with the snapshot anyway).
> 
> But this results in the schroot session not ending, that is I get one
> more schroot session per build that I have to end manually.

I have removed the logic that disabled session ending when the purge
options were used.  I've added a new option (--keep-session) to allow
keeping the session should you want it.  So now the default behaviour
will work as you expected (skip removal of build tree, then delete
snapshot).


Regards,
Roger

-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please GPG sign your mail.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20110227/fc7e1b07/attachment.pgp>


More information about the Buildd-tools-devel mailing list