Re: The "/etc/resolv.conf" file becomes empty after each restart #yocto


Federico Pellegrin
 


Hello,
Some more details would be needed (ie. you have systemd?), but this could be a good point to start: https://wiki.archlinux.org/title/Systemd-resolved


Cheers,
Federico


Il giorno gio 13 gen 2022 alle ore 09:17 sateesh m <sateesh0457@...> ha scritto:
Hi,

       I assume it shouldn't be empty resov. conf. Manually I am updating nameserver always. but when I reboot my machine it's empty. So for this, I want to make permanent my nameserver always. I have added packages support IMAGE_INSTALL_append = " resolvconf"  but I am not able to fix this solution. Can anybody know this issue please guide me. How always will be automatically set without manual effort?


--
Regards,
Sateesh


Join yocto@lists.yoctoproject.org to automatically receive all group messages.