[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: using cow-shell to build a package


On Mon, Jul 31, 2006 at 11:32:43AM +0200, Martin Man wrote:
> Michael Hanke wrote On 2006-07-29 18:08,:
> >Hi,
> >
> >[snip/]
> >
> >It would be nice if you could describe your setup in more detail (or
> >even provide the hook scripts somewhere). I tried a A00login hookscript
> >that invokes in interactive bash, but for some reason it exits
> >immediately when invoked by pbuilder:
> I didn't do anything special than reading the pbuilder-doc and using 
> examples from /usr/share/doc/pbuilder
> > -> user script /var/cache/pbuilder/build//1695/tmp/hooks/A00login finished
> > su: Authentication service cannot retrieve authentication info.
> > (Ignored)
> I don't have access to debian/ubuntu system right now, but I think in 
> order to go interactive from a hook I did something like this in a hook 
> script
> bash </dev/tty >/dev/tty

This was the missing piece of information. Thanks!

> I also didn't use the A hook, only the pre-build hook and 
> build-failed/build-success hook (sorry, don't remember the hook letters 
> anymore)
The A hooks are called after all dependencies are installed on the source
package is unpackaged, so this should be the prebuild hook.



GPG key:  1024D/3144BE0F Michael Hanke
ICQ: 48230050

Attachment: signature.asc
Description: Digital signature

Reply to: