I use a hook withs give me root access to build env when a build is failed

Added this line to .pbuilderrc
HOOKDIR="/var/cache/pbuilder/hook.d"

And placed the file C10shell in there with this content:

#!/bin/sh
# invoke shell if build fails.

apt-get install -y --force-yes vim less bash nano
cd /tmp/buildd/*/debian/..
/bin/bash < /dev/tty > /dev/tty 2> /dev/tty


With this give you access to build enverement

If you want to copy stuff out of the env you can the do by accessing your build 
directory  and copy the stuff y
        


--
To UNSUBSCRIBE, email to debian-mentors-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
https://lists.debian.org/8c48efc8d3fd4db3b7f14d1cfb895441@srv04.dikkenberg.local

Reply via email to