RE: Is there a way to preserve pbuilder chroot environment?
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
Reply to: