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
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
You can edit image recipe and remove (comment out) line that should be located there:
IMAGE_INSTALL_append = “ chromium”
(it could be also in IMAGE_INSTALL += ), take a look here.
The image recipe file is bitbake file with the name that you use to build your image, you should be able to find it in some meta folder, e.g. meta-<>/meta-fsl-demos/recipes-fsl/images/fsl-image-gui-sdk.bb.
Note that IMAGE_INSTALL is not recommended when used in build directory conf/local.conf (and it looks it just doesn't work as far as I have seen). That is why the recommended way is to either modify existing image recipe or clone/modify it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With