[OE-core] Setting a a fixed resolv.conf file in OE built image

Khem Raj raj.khem at gmail.com
Tue Dec 16 16:40:10 UTC 2014


> On Dec 16, 2014, at 7:12 AM, Philip Balister <philip at balister.org> wrote:
> 
> Any tips on how to do this the right way? It seems like fixed
> resolv.conf's are no longer fashionable and the volatile.cache script
> goes to great lengths to reset it.
> 
> Adding a dns-nameserver entry in the interfaces file never makes it to
> resolv.conf. I tried installing the resolvconf package and played with
> it, but no joy. This package also appears to have some issues with
> missing pieces.

depends a lot on what package combination you are using. If its systemd and you
are using systemd-resolved then it generates resolve.conf in /run/ and symlink
in /etc/ gets the job done. if its udhcpc then it will populate the one in /etc
and it will take interfaces file in /etc into consideration

> 
> I'll file bugs, but until I can figure out how it is suposed to work,
> any bug I file is going to be pretty vague.
> 
> This really should be easier.
> 
> Philip
> -- 
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core




More information about the Openembedded-core mailing list