OpenEmbedded - Removing Features From meta-toradex-demos

In the meta-toradex-demos layer, there are a number of features and files which I would like to remove from our image.

I’m not entirely sure how I would go about doing this as the OpenEmbedded/Yocto documentation I’ve gone through so far doesn’t really seem to cover the removing files level.

Any help would be greatly appreciated.

We have our own layer which is baked in as part of the image so if there is anything I should add in here to do it, then please advise.

Thanks!

Hi

You could write a bbappend to the image recipe in your layer and try to overwrite IMAGE_INSTALL and friends to your liking or use the remove operator IMAGE_INSTALL_remove to remove a list of packages which you don’t want want.

However I wouldn’t do that. It’s your tailored image after all, so write your own image recipe, probably starting with a copy of the image recipe of meta-toradex-demos you currently use.

Maybe this blog, though now a bit outdated, might give additional ideas,

Max