[Debian-med-packaging] Dropping to a shell on failed build
Kevin Murray
kevin at kdmurray.id.au
Mon Dec 21 04:36:28 UTC 2015
Hi all,
Time to sharpen my searching skills I think.
On 15:25 21/12, Kevin Murray wrote:
> Hi all,
>
> Is there some way that one can drop to a bash shell upon failure of a build?
> For debugging's sake, it would be great to inspect the build environment of a
> pbuilder as it was at the point when the build failed. Then I could e.g. try
> finding a missing file or see which directory something is actually in.
>
There is a way using pbuilder hooks, as documented in the Ubuntu wiki:
https://wiki.ubuntu.com/PbuilderHowto#Running_a_Shell_When_Build_Fails_.28Intro_to_Hook_Scripts.29
Sorry for the mailing list noise!
Cheers,
K
---
Kevin Murray
0xA4B4EE6A
More information about the Debian-med-packaging
mailing list