I am working with the yocto project and a Raspberry Pi 0 with wifi. I want to integrate the wpa_supplicant.conf file and copy it to the /etc/ folder. My recipe fails with reason stating that I don't have permission to copy this file at this location.
I am using do_install_append, but it did not work
do_install_append() { install -m 0755 ${S}/wpa_supplicant.conf /etc/ install -m 0755 ${S}/interaces /etc/network/ }
I tried copy -f but it failed also, nevertheless I tried sudo, but no clue.