summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/netbase/netbase
diff options
context:
space:
mode:
authorRoy Li <rongqing.li@windriver.com>2016-01-27 08:00:19 (GMT)
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-01-30 11:37:00 (GMT)
commit7881c02aa74db54534ff4491eb38f7c0aa99ffc6 (patch)
tree3769b17a961f83747917b07bc3967c9404a116de /meta/recipes-core/netbase/netbase
parent93fcee6882e1ee1dd6b04a040473d32ada9a328a (diff)
downloadpoky-7881c02aa74db54534ff4491eb38f7c0aa99ffc6.tar.gz
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 (From OE-Core rev: 4ae53085b173ed57acacebcd3e199abe2cb77a60) Signed-off-by: Roy Li <rongqing.li@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.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/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 2f33245..b94f414 100644
--- a/meta/recipes-core/netbase/netbase/hosts
+++ b/meta/recipes-core/netbase/netbase/hosts
@@ -1,2 +1,8 @@
1127.0.0.1 localhost.localdomain localhost 1127.0.0.1 localhost.localdomain localhost
2 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