Bug#778334: A hook not executed for no obvious reason

Mattia Rizzolo mattia at mapreri.org
Sat Oct 3 13:58:00 UTC 2015


user pbuilder at packages.debian.org
usertag 778334 + pbuilder
tags 778334 + moreinfo
thanks

On Fri, Feb 13, 2015 at 05:56:19PM +0100, Eduard Bloch wrote:
> $ ls /tmp/hooks/
> A01getshell
> $ chmod +x /tmp/hooks/*
> $ cat /tmp/hooks/A01getshell 
> #!/bin/sh
> /bin/bash

As Thorsten pointed out in another mail, this is not enough to get an
interactive shell.

If you just want to get a shell inside the build env in some point you
can see the example hook installed in
/usr/share/doc/pbuilder/examples/C10shell (ok, this on hooks in another
point, after a build failure, but the concept is the same).

/bin/bash < /dev/tty > /dev/tty 2> /dev/tty


Please close this bug if this is enough to solve your issue.

-- 
regards,
                        Mattia Rizzolo

GPG Key: 66AE 2B4A FCCF 3F52 DA18  4D18 4B04 3FCD B944 4540      .''`.
more about me:  http://mapreri.org                              : :'  :
Launchpad user: https://launchpad.net/~mapreri                  `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia  `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20151003/c9c72db9/attachment.sig>


More information about the Pbuilder-maint mailing list