On Mon, 15 May 2023 at 07:45, Dmitry Belyavskiy <dbelyavs@redhat.com> wrote:
Dear Peter,

On Mon, May 15, 2023 at 1:06 PM Peter Robinson <pbrobinson@gmail.com> wrote:
>
> On Mon, May 15, 2023 at 11:39 AM Dmitry Belyavskiy <dbelyavs@redhat.com> wrote:
> >
> > Dear colleagues,
> >
> > What is the simplest way to get a rawhide i686 VM? I came across a
> > nasty architecture-specific bug, and the code investigation isn't of
> > much help. There is no obvious way to access a core dump via mock
> > (could you please ping me if it exists?) and the VM looks like a
> > reasonable choice.
>
> run an i686 userspace in a x86_64 is about the best option these days.

Is there a guideline on how to do it?


Miroslav Suchy's answer earlier is the best one:

```
mock -r fedora-rawhide-i386 --no-cleanup-after foo.src.rpm
mock -r fedora-rawhide-i386 install <whatever else you need to install>

mock -r fedora-rawhide-i386 shell

cd /builddir/build
```

--
Stephen Smoogen, Red Hat Automotive
Let us be kind to one another, for most of us are fighting a hard battle. -- Ian MacClaren