[buildd-tools-devel] [PATCH] Skip cleanup on build-dep install failure

Roger Leigh rleigh at codelibre.net
Sun Dec 13 22:22:44 UTC 2009


On Sun, Dec 13, 2009 at 10:18:28PM +0000, Roger Leigh wrote:
> Hi Phil,
> 
> Could you give the attached patch a try?  It should cause
> cleanup to be skipped when using a cloned chroot when
> package installation fails.
> 
> We now skip
> 1) chroot cleanup at end of build (in any situation)
> 2) cleanup following package install failure
> 
> Are there any other cases we're missing, or is that all
> the bases covered?

Oops, working patch attached.

-- 
  .''`.  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: sbuild-clone-skip-uninstall.patch
Type: text/x-diff
Size: 1882 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20091213/25b23485/attachment-0001.patch>
-------------- 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/20091213/25b23485/attachment-0001.pgp>


More information about the Buildd-tools-devel mailing list