Re: Inspecting/debugging a mock build

2010-09-05 Thread Braden McDaniel
On Mon, 2010-09-06 at 00:03 -0400, Matt McCutchen wrote: > On Sun, 2010-09-05 at 23:57 -0400, Braden McDaniel wrote: > > 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

Re: Inspecting/debugging a mock build

2010-09-05 Thread Matt McCutchen
On Sun, 2010-09-05 at 23:57 -0400, Braden McDaniel wrote: > 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? In /etc/mock/site-defaults.

Re: Inspecting/debugging a mock build

2010-09-05 Thread Braden McDaniel
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

Re: Inspecting/debugging a mock build

2010-09-05 Thread Ben Boeckel
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-roo

Re: Inspecting/debugging a mock build

2010-09-05 Thread seth vidal
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 y

Re: Inspecting/debugging a mock build

2010-09-05 Thread Tom Lane
Braden McDaniel writes: > 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? The command you want is "mock --shell", I think. See the mock manpage. Don't forget t