I am using yocto rocko for my board I was setting static ip using rc.local at startup .But after some time ip gets changed. So i found that following file is culprit
/var/lib/connman/ethernet_*_cable/settings
In the file below line is causing issues :
IPV4.method=dhcp
I changed dhcp to manual and everything is working fine.
How to change in yocto build or kernel or filesystem such that when i boot a new card its value is manual by default
Regards