summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/netbase/netbase
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2019-01-08 09:12:52 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-01-11 10:39:08 (GMT)
commit53cebfdfcc189a65de82eccdbd18acf4d979e624 (patch)
tree772c4e40dc35af47a39efa425794ad787448fa11 /meta/recipes-core/netbase/netbase
parent4dd51032160897be4132242d6aaaf4dd1e5167da (diff)
downloadpoky-53cebfdfcc189a65de82eccdbd18acf4d979e624.tar.gz
netbase/base-files: move /etc/hosts from netbase to base-files
Move /etc/hosts to base-files, and also add entry to it according to hostname setting. This fixes the problem of commands like `hostname -f' failing due to lack of such entry. (From OE-Core rev: 31e6d08f20a804fccb958e19045d8f9e9806071a) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/netbase/netbase')
-rw-r--r--meta/recipes-core/netbase/netbase/hosts8
1 files changed, 0 insertions, 8 deletions
diff --git a/meta/recipes-core/netbase/netbase/hosts b/meta/recipes-core/netbase/netbase/hosts
deleted file mode 100644
index b94f414..0000000
--- a/meta/recipes-core/netbase/netbase/hosts
+++ /dev/null
@@ -1,8 +0,0 @@
1127.0.0.1 localhost.localdomain localhost
2
3# The following lines are desirable for IPv6 capable hosts
4::1 localhost ip6-localhost ip6-loopback
5fe00::0 ip6-localnet
6ff00::0 ip6-mcastprefix
7ff02::1 ip6-allnodes
8ff02::2 ip6-allrouters