diff options
author | Chen Qi <Qi.Chen@windriver.com> | 2018-11-30 10:24:41 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2018-12-19 22:34:34 +0000 |
commit | 5cdf3006e830bf8e72fd004282f01287a9b80cbf (patch) | |
tree | 370e83102036b310d559230092c1f51b244c03bd /meta/recipes-core/glibc/glibc-ld.inc | |
parent | a773a0f524f3c3d13e7a65c56d184a85c931aede (diff) | |
download | openembedded-core-contrib-5cdf3006e830bf8e72fd004282f01287a9b80cbf.tar.gz |
netbase: add entry to /etc/hosts according to /etc/hostname
We default hostname to ${MACHINE}, but it's not in /etc/hosts,
resulting in commands like `hostname -f' failing due to lack
of entry.
So add entry to /etc/hosts according to /etc/hostname. We do
this via pkg_postinst because hostname is set in base-files
recipe.
Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/glibc/glibc-ld.inc')
0 files changed, 0 insertions, 0 deletions