How to remove a specific package from yocto

Giridhara Kalkere picture Giridhara Kalkere · Mar 5, 2017 · Viewed 22k times · Source

I am building yocto for a specific hardware (imx6 saber-sdb from nxp). I want to remove a particular (chromium) package from the build process. so that chromium package will not be downloaded, compiled and will not be part of the target image as well.

Can some body suggest me how to do this?

Thanks and Regards, Giri

Answer

john madieu picture john madieu · Mar 6, 2017

Below is how you can remove chromium package from your image.

IMAGE_INSTALL_remove += "chromium"

The other way is PACKAGE_EXCLUDE. Have a look here