[OE-core] [PATCH 1/1] netbase: add entry to /etc/hosts according to /etc/hostname

Richard Purdie richard.purdie at linuxfoundation.org
Wed Nov 28 11:21:47 UTC 2018


On Wed, 2018-11-28 at 10:26 +0000, Burton, Ross wrote:
> What if the hostname entry already exists? $sysconfdir instead of
> hard-coding etc.
> 
> I can't help but think a better solution would be to simply move
> /etc/hosts to base-files, so it can be updated at the same time as
> hostname.

I'm torn on this as netbase is a much better fit for the hosts file and
moving it would be a migration pain :(

Your other points stand though...

Cheers,

Richard



More information about the Openembedded-core mailing list