Inspecting/debugging a mock build

Ben Boeckel mathstuf at gmail.com
Mon Sep 6 02:11:20 UTC 2010


seth vidal <skvidal at fedoraproject.org> 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
> 
> -sv

    mock -r name-of-root-config --shell /bin/sh

In case your shell of choice isn't installed by default.

--Ben



More information about the devel mailing list