Inspecting/debugging a mock build

Braden McDaniel braden at endoframe.com
Mon Sep 6 03:57:09 UTC 2010


On Sun, 2010-09-05 at 21:54 -0400, seth vidal wrote: 
> On Sun, 2010-09-05 at 21:33 -0400, Braden McDaniel wrote:
> > I'm pretty much a novice at both mock and chroot.  Where can I find out
> > how to change to the mock build chroot (using fedpkg or otherwise) so
> > that I can debug a failed mock build?
> > 
> 
> 
> mock -r name-of-root-config --shell
> 
> that'll get you into the chroot

Thanks.  Now, how do I get fedpkg to preserve it?  I see (when doing
"fedpkg mockbuild"):

        INFO: Cleaning up build root ('clean_on_failure=True')

So, where do I set clean_on_failure to False?

-- 
Braden McDaniel <braden at endoframe.com>



More information about the devel mailing list