[buildd-tools-devel] [PATCH] Fix Sbuild::df to report free space on partition, not occupied one

Roger Leigh rleigh at codelibre.net
Wed Nov 25 09:52:27 UTC 2009


On Wed, Nov 25, 2009 at 09:04:59AM +0600, Mikhail Gusarov wrote:
> Sbuild::df is used for checking free space (see Buildd::Daemon::do_build
> and Sbuild::Build::build), so it is really unconvenient that it returns
> occupied space instead :)
> 
> This obvious patch fixes the problem, so it is now possible to run sbuild
> with tmpfs mounted over /build (which obviously does not have enough
> garbage to pass the free space check).

Applied to git master, thanks.


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/20091125/24d6ac02/attachment.pgp>


More information about the Buildd-tools-devel mailing list