diff options
| author | Roy Li <rongqing.li@windriver.com> | 2016-01-27 16:00:19 +0800 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-01-30 11:37:00 +0000 |
| commit | 7881c02aa74db54534ff4491eb38f7c0aa99ffc6 (patch) | |
| tree | 3769b17a961f83747917b07bc3967c9404a116de /meta/recipes-core/netbase | |
| parent | 93fcee6882e1ee1dd6b04a040473d32ada9a328a (diff) | |
| download | poky-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')
| -rw-r--r-- | meta/recipes-core/netbase/netbase/hosts | 6 |
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 @@ | |||
| 1 | 127.0.0.1 localhost.localdomain localhost | 1 | 127.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 | ||
| 5 | fe00::0 ip6-localnet | ||
| 6 | ff00::0 ip6-mcastprefix | ||
| 7 | ff02::1 ip6-allnodes | ||
| 8 | ff02::2 ip6-allrouters | ||
