2022-03-31 08:32 AM
Hello, I've got a board with an STM32 MP CPU and I have to reduce the size of the final image to leave enough space on the NAND memory for a dual rootfs setup. The idea is to remove the alsa layer because I don't need the audio part. I tried to add the following lines inside the local.conf on the build folder of the Yocto project:
DISTRO_FEATURES_remove += "alsa"
DISTRO_FEATURES_remove += "pulseaudio"
PACKAGECONFIG_remove += "alsa-lib \
alsa-state \
alsa-topology-conf \
alsa-ucm-conf \
alsa-utils \
"
but It doesn't work as expected and most of the alsa packages are still there.
How can I completely remove the alsa layer from the Yocto project?
2022-03-31 08:35 AM
.
2022-03-31 11:30 PM
Hi @LLorr.1
I would try the following change:
MACHINE_features_remove = "alsa"
Best regards,
--JM