summaryrefslogtreecommitdiff
path: root/meta
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2016-01-27 16:00:19 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-29 18:14:53 +0000
commit4ae53085b173ed57acacebcd3e199abe2cb77a60 (patch)
tree8ed23a6621b0f83d0914412950b25e2f6e8bb182 /meta
parentcca987b2f62dc6b51a02564ccd4041bde2897f13 (diff)
downloadopenembedded-core-4ae53085b173ed57acacebcd3e199abe2cb77a60.tar.gz
openembedded-core-4ae53085b173ed57acacebcd3e199abe2cb77a60.tar.bz2
openembedded-core-4ae53085b173ed57acacebcd3e199abe2cb77a60.zip
netbase: add ipv6 host to /etc/hosts
There is a script in netbase, debian/netbase.postinst, which create /etc/hosts, but it is not called, so ipv6 host is missing. now copy them from Ubuntu; and add localhost as alias of ::1 Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-core/netbase/netbase/hosts6
1 files changed, 6 insertions, 0 deletions
diff --git a/meta/recipes-core/netbase/netbase/hosts b/meta/recipes-core/netbase/netbase/hosts
index 2f332451b5..b94f414d5c 100644
--- a/meta/recipes-core/netbase/netbase/hosts
+++ b/meta/recipes-core/netbase/netbase/hosts
@@ -1,2 +1,8 @@
127.0.0.1 localhost.localdomain localhost
+# The following lines are desirable for IPv6 capable hosts
+::1 localhost ip6-localhost ip6-loopback
+fe00::0 ip6-localnet
+ff00::0 ip6-mcastprefix
+ff02::1 ip6-allnodes
+ff02::2 ip6-allrouters