[OE-core] [PATCH 9/9] base-files: default hostname to localhost

Richard Purdie richard.purdie at linuxfoundation.org
Fri Nov 23 23:38:40 UTC 2018


On Fri, 2018-11-23 at 10:16 +0800, Chen Qi wrote:
> Previously we default hostname to be ${MACHINE}, but there's no entry
> in /etc/hosts, and `hostname -f' command fails. So change it to
> 'localhost'.
> 
> Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
> ---
>  meta/recipes-core/base-files/base-files_3.0.14.bb | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)

This is not the correct way to fix this, we should be adding the
correct entry to /etc/hosts...

Cheers,

Richard



More information about the Openembedded-core mailing list