tags 396388 + pending thanks * Michael Prokop <m...@debian.org> [Wed Jun 09, 2010 at 01:12:13PM +0200]: > * maximilian attems <m...@stro.at> [Wed Jun 09, 2010 at 04:26:08AM +0200]: > > On Tue, Jun 08, 2010 at 03:32:32PM +0200, Michael Prokop wrote: > > > * Joey Hess <jo...@debian.org> [Tue Oct 31, 2006 at 01:39:55PM -0500]:
> > > > Please provide a mechanism for hook scripts to abort a build. Note that > > > > in the past, if a hook script exited nonzero, the build did abort, so my > > > > guess is that there are few hook scripts that exit nonzero in cases > > > > where the build would continue. However, if you don't feel that's safe > > > > now, an alternative would be to check for a flag file in the initramfs > > > > tree, which a hook script could create to indicate that the build needs > > > > to be aborted. > > > A "set -e ... set +e" inside call_scripts() would be sufficient > > > AFAICS as the existing scripts seem to exit != 0 only iff there's a > > > real problem. So we should just honor that and if people need a more > > > flexible way we could provide it as well later on. > > > maks, any objections against adding "set -e"? I'd take care of it. [...] After discussion ACKed and implemented, will be provided with next i-t upload. regards, -mika-
signature.asc
Description: Digital signature