From: Roy Li Date: Wed, 27 Jan 2016 08:00:19 +0000 (+0800) Subject: netbase: add ipv6 host to /etc/hosts X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~27322 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ae53085b173ed57acacebcd3e199abe2cb77a60;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.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 2f332451b50..b94f414d5c8 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