8

I'm using Yocto v2.4.1 and BitBake v1.36.0. I want to remove qemu and qemu-native (All qemu related thing) from my custom generated Linux Image.

How can i do that ?

Thanks

jww
  • 97,681
  • 90
  • 411
  • 885
craken
  • 1,411
  • 11
  • 16
  • Stack Overflow is a site for programming and development questions. You should use another site on the [Stack Exchange network](https://stackexchange.com/sites) for this question. – jww Dec 28 '18 at 14:18
  • I've searched for questions about Yocto and I've found that many of them are tracked here. You can check the tag yocto mentionned. – craken Dec 28 '18 at 14:38
  • 2
    @jww I'm pretty sure this is a valid stackoverflow question. And also I would like to have an answer to this question too – ErniBrown Jan 02 '19 at 10:44
  • Search through poky and find the recipes that contain a DEPENDS or RDEPENDS on `nativesdk-qemu`. There doesn't seem to be any switch to not include it in the SDK so you have to modify the recipes yourself. – fdk1342 Jan 30 '20 at 11:50

1 Answers1

0

qemu-native is not included into final image, as it is built for the host architecture and then used to run some target binaries during the bitbake build.

Target qemu (like anything else) is included into the image because the image recipe says so, or something else pulls it in as a dependency. You need to track that down.

Bhargav Rao
  • 50,140
  • 28
  • 121
  • 140
  • I'm using a target hardware ZCU102 board from Xilinx. I don't need it. Machine already created and I want to create a custom one without qemu Reference machine : https://github.com/Xilinx/meta-xilinx/blob/master/meta-xilinx-bsp/conf/machine/zcu102-zynqmp.conf – craken Jan 02 '19 at 15:35