Re: [poky] [PATCH 4/4] fragments/qemu: add support for enabling sdl in qemu
Richard Purdie <[email protected]> Tue, 03 Jun 2025 20:44:53 +0100
| Newsgroups | org.yoctoproject.lists.poky |
|---|---|
| Message-ID | <1f7282940782670021af9610eeac664737b07f14.camel@linuxfoundation.org> |
On Tue, 2025-06-03 at 13:35 +0200, Alexander Kanavin via lists.yoctoproject.org wrote: > From: Alexander Kanavin <[email protected]> > > This has been the default in poky's local.conf template for > a long time, but it's not enabled directly in poky distro. > To allow better sstate reuse and a better user experience > on a typical laptop (qemu will pop up a graphical window directly), > let's add this fragment and enable it in official bitbake-setup > configurations. > > Signed-off-by: Alexander Kanavin <[email protected]> > --- > meta/conf/fragments/qemu/enable-native-sdl.conf | 8 ++++++++ > 1 file changed, 8 insertions(+) > create mode 100644 meta/conf/fragments/qemu/enable-native-sdl.conf > > diff --git a/meta/conf/fragments/qemu/enable-native-sdl.conf b/meta/conf/fragments/qemu/enable-native-sdl.conf > new file mode 100644 > index 00000000000..21c1298171e > --- /dev/null > +++ b/meta/conf/fragments/qemu/enable-native-sdl.conf > @@ -0,0 +1,8 @@ > +BB_CONF_FRAGMENT_SUMMARY = "Enable SDL support for direct graphical output on the build host." > +BB_CONF_FRAGMENT_DESCRIPTION = "By default qemu is built with a internal VNC server \ > +support. To see graphical output from the guest system, one can use a VNC client to \ > +connect to it. This fragment enables Simple Directmedia Layer support, which allows \ > +seeing the graphical output from guest directly in a X/Wayland session on the build host machine. \ > +" > + > +PACKAGECONFIG:append:pn-qemu-system-native = " sdl" I have to wonder whether rather than making this a fragment, we should just change the default... Cheers, Richard