My requirement -- was to Remove the package alsa from the Yocto Build. So
I just tried to Remove the ALSA Packages from the Yocto Build.
I followed same procedure as you stated
MACHINE_FEATURES_remove = "alsa" on your machine.conf
poky.conf, used DISTRO_FEATURES_remove = "alsa".
But it removed some of the alsa packages in rootfs looks good, these alsa-lib, alsa-conf still exists in the tmp/deploy/licenses/machine/licence.manifest file
Can any one suggest me the way to Remove that from Yocto Build.
As @ah008a said, you could check the dependencies for your image such as core-image-sato with cmd
bitbake -g core-image-sato
. Then check the file task-depends.dot.The other way is to check the dependency by starting the image. Append following to local.conf:
then build and start the image. Check alsa related packages and try to remove them:
Then try to remove the dependencies recursively such as:
Finally find that
Check the recipe
meta/recipes-sato/packagegroups/packagegroup-core-x11-sato.bb
and distro featurepulseaudio
should be removed too. So set in local.conf:Then there is no alsa related packages installed to the image core-image-sato.