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-27 22:55:05 +0000 |
commit | 3577e83dc08076fc4b1d671dbf5bb4fef75d4c34 (patch) | |
tree | b00ce66bea9507cd0cb7f8494da4f91aab42a5e7 /scripts/runqemu-ifup | |
parent | c708f3a2b6ed9521ac8269e56ee70d9edd0ef2df (diff) | |
download | openembedded-core-contrib-3577e83dc08076fc4b1d671dbf5bb4fef75d4c34.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 'scripts/runqemu-ifup')
0 files changed, 0 insertions, 0 deletions