[buildd-tools-devel] Bug#674945: detect if code is running after the build is done

Roger Leigh rleigh at codelibre.net
Thu Jun 28 21:19:32 UTC 2012


On Mon, May 28, 2012 at 10:58:06PM +0200, Andreas Barth wrote:
> please detect if there is still some code running after
> dpkg-buildpackage is done, and if so, depending on a configuration
> option, either
> a) fail the build with an appropriate notice
> b) log a warning, terminate the code and complete
> 
> I'm more and more often detecting stuff running within the chroot
> which should had been terminated before.

We can certainly use the logic from schroot's 15killprocs script
to do this on Linux and kFreeBSD.


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