I’m having a Friday, brain-fade moment. I want to define a variable within the wpa_supplicant.bbappend file:
WPA_GROUP_NAME = value
This value needs to be propagated into the wpa_supplicant.conf configuration file for the “ctrl_interface_group” setting before the file gets written into the target file system.
I once saw a recipe that defined something similar as an arbitrary value in the configuration file i.e. in this case we would use:
...and then used file and string manipulation to put the correct value there during the do_install() phase.
I now can’t find that recipe to see how it was done nor can I work out how it was done.