[buildd-tools-devel] Bug#760991: Bug#760991: sbuild: please add two more hooks that fire exactly before and after the actual build

Wookey wookey at wookware.org
Fri Sep 19 23:52:35 UTC 2014


+++ Johannes Schauer [2014-09-09 20:15 +0200]:

> it would be useful to have some more sbuild hooks. Specifically it would
> be useful to have them exactly before the build starts and exactly after
> it stops. More concretely, exactly before 'Build Start Time' is set and
> exactly after "Build finished at ..." is written to the log.
> 
> Attached patch solves this problem.
> 
> Unfortunately, there already exists hooks called pre-build-commands and
> post-build-commands even though they capture more than just the build
> (for example they also include package installation).

Would 'start-build-commands' and 'end-build-commands' perhaps work
better, given the naming clash?

I've just been working on this code to merge the fix for 608840. It
would make sense to include your changes too.

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/



More information about the Buildd-tools-devel mailing list