On Mon, May 11, 2009 at 05:40:36PM -0700, Joey Korkames wrote: > I use sbuild with schroot-managed filesystems (snapshots via LVM, > ZFS-over-iSCSI). It would be nice if a flag could be made so that sbuild > won't waste time trying to clean up installed Build-Depends after > debuild/dpkg-buildpackage finishes.
Unless there has been a regression, this should already be the case: cleanup_packages: if (defined ($session->get('Session Purged')) && $session->get('Session Purged') == 1) { $self->log("Not removing build depends: cloned chroot in use\n"); } else { $self->uninstall_deps(); } Session Purged is set if 'schroot -i' shows Session Purged true. Does it in your case. Older versions of schroot might not have this extra information. 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. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org