From: Roy Li Date: Wed, 27 Jan 2016 08:00:19 +0000 (+0800) Subject: netbase: add ipv6 host to /etc/hosts X-Git-Tag: 2016-4~1212 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=4ae53085b173ed57acacebcd3e199abe2cb77a60;p=openembedded-core.git 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 Signed-off-by: Ross Burton --- 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