On Wed, Apr 1, 2026 at 8:49 PM Richard Purdie
<[email protected]> wrote:
>
> On Wed, 2026-04-01 at 08:04 +0200, Marta Rybczynska via 
> lists.openembedded.org wrote:
> > On Tue, Mar 31, 2026 at 9:35 PM Ankur Tyagi <[email protected]> wrote:
> > > On Wed, Apr 1, 2026 at 4:30 AM Marta Rybczynska via
> > > lists.openembedded.org <[email protected]>
> > > wrote:
> > > >
> > > > Hello all,
> > > > As mentioned on the call today, I have an issue in a configuration with 
> > > > bitbake-setup, oe-core-master fragments and runqemu:
> > > >
> > > > $ runqemu qemux86-64
> > > > runqemu - INFO - Running MACHINE=qemux86-64 bitbake -e  ...
> > > > runqemu - WARNING - Couldn't run 'MACHINE=qemux86-64 bitbake -e  ' to 
> > > > gather environment information, maybe the target wasn't an image name, 
> > > > will retry with virtual/kernel as a target:
> > > > ERROR: A builtin fragment 'machine/qemux86-64' is used while MACHINE 
> > > > has already got an assignment.
> > > > Please either disable the fragment or remove the value assignment.
> > >
> > > drop "qemux86-64" argument, it is not needed since the machine config
> > > fragment is set.
> > > "runqemu core-image-minimal" should succeed.
> >
> > Hello Ankur,
> > This leads us to another problem (also happens if I remove the fragment):
> >
> > $ runqemu
> >
> > runqemu - INFO - Running bitbake -e  ...
> > runqemu - ERROR - .zst images are only supported with snapshot mode. You 
> > can either use the "snapshot" option or use an uncompressed image.
> > runqemu - INFO - Cleaning up
> > runqemu - INFO - Host uptime: 17100244.13
>
> Try "runqemu snapshot" :)
>
> We should find a way to fix the MACHINE= issue. We did briefly remove
> the support for using bitbake -e entirely but it was requested we put
> that back.
>
> The snapshot message was added recently to cleanly support compressed
> images (also relatively new) but obviously the new user interface to it
> could use some improvement.
>

You may also want to enable fragment
"core/yocto/root-login-with-empty-password".

And if you want the guest machine console redirected to your current
terminal, then append "serial" to runqemu arguments.

So your final command will look like -> runqemu core-image-minimal
snapshot serial

Hope that helps.

cheers
Ankur

> Cheers,
>
> Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#234332): 
https://lists.openembedded.org/g/openembedded-core/message/234332
Mute This Topic: https://lists.openembedded.org/mt/118598283/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to