On Fri, Oct 22, 2010 at 01:43:38PM +0200, Loïc Minier wrote: > On Fri, Oct 22, 2010, Roger Leigh wrote: > > If you edit /etc/schroot/setup.d/10mount: > > # Purge mount location. > > # The contents of file chroots are purged separately, because > > # we might want to repack the contents. > > if [ "$CHROOT_TYPE" != "file" ]; then > > if echo "$CHROOT_MOUNT_LOCATION" | grep -q "^$MOUNT_DIR/"; then > > if [ -d "$CHROOT_MOUNT_LOCATION" ]; then > > rmdir "$CHROOT_MOUNT_LOCATION" > > fi > > fi > > fi > > and remove the "if [ "$CHROOT_TYPE" != "file" ]; then" and "fi" at the end > > of > > that block so it's always run, do you see correct purging then? > > I commented out 'if [ "$CHROOT_TYPE" != "file" ]; then' and the > corresponding 'fi' and that fixed the issue; thanks!
Thanks for testing that. I'll remove those lines in the next release; hopefully it can be fixed for squeeze. Thanks again, 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.
signature.asc
Description: Digital signature

