[buildd-tools-devel] Bug#528312: Bug#528312: Please add option to skip removal of installed Build-Depends
Roger Leigh
rleigh at codelibre.net
Tue May 12 08:35:16 UTC 2009
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.
More information about the Buildd-tools-devel
mailing list