buildembedded-linuxyocto

Smallest Yocto image distro features


I am trying to build a small Linux image using the Yocto project. While I was searching the net, I found that I could remove some distro features that I don't need for my image.

How can I check which distro features I'm using now?


Solution

  • You can use the following command:

    bitbake -e | grep ^DISTRO_FEATURES=

    To shrink Yocto image, you can base your work on poky-tiny and look at Building a tiny system manual chapter.