Need to disable IPV6 completely from the yocto image for Raspberrypi


@prashant2314
 

Dear Team,

I'm using yocto dunfell version 3.1.3 .  in my image ipv6 configuration is coming, which I don't need. I need to disable it completely.

Please assist me the correct way to do the same.

Thanks.


md.sadiq@...
 

Hi,

To remove completely ipv6 from distro disable all the kernel configurations related to ipv6, add the the below line in the local.conf file
DISTRO_FEATURES_remove = "ipv6".

If above doesnot help create your own distro file owndistro.conf and add below lines to remove unwanted features as follows

DISTRO_FEATURES_remove = " ipv6 x11 wayland"

and change local.conf as follows

DISTRO ?= "owndistro"



Regards,
Sadiq