I want to override a variable file in the distro.conf in my my_image recipe.
For example by default distro.conf variable has defined a variable
USER="distroname"
Now, I have my custom image recipe called by the name as my_image.bb, in that I wanted to override the USER variable with some other value
USER="imagename"
When I bitbake my_image name , in rootfs , I can see it has taken the USER value as distroname and not the overriding one imagename.
Nevertheless, bitbake -e my_image shows the name is overridden properly.
bitbake -e my_image|grep ^USER
USER="imagename"
Can anyone please help me to solve this issue? Does the variables in distro.conf can not be overridden?