summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2014-12-30 13:11:56 -0600
committerWaldemar Brodkorb <wbx@openadk.org>2014-12-30 13:12:18 -0600
commit27f286f86e0139feed1b105e5d30ebf036fab564 (patch)
treef5528497f83f0d1b3908fe7e7539a4032592bb5e
parent4077374c95e206d93a48171a593919c0d927ee89 (diff)
add default entries for ipv6
-rw-r--r--package/base-files/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index cf4b1fb15..14c04cefa 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(ADK_TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.1
-PKG_RELEASE:= 7
+PKG_RELEASE:= 8
PKG_SECTION:= base/apps
PKG_DESCR:= basic files and scripts
@@ -75,8 +75,13 @@ endif
test -z $(ADK_RUNTIME_HOSTNAME) || \
echo $(ADK_RUNTIME_HOSTNAME) > $(IDIR_BASE_FILES)/etc/hostname; \
echo "127.0.0.1 localhost" > $(IDIR_BASE_FILES)/etc/hosts
- echo "::1 localhost" >> $(IDIR_BASE_FILES)/etc/hosts
echo "127.0.1.1 $(ADK_RUNTIME_HOSTNAME)" >> $(IDIR_BASE_FILES)/etc/hosts
+ echo "::1 ip6-localhost ip6-loopback" >> $(IDIR_BASE_FILES)/etc/hosts
+ echo "fe00::0 ip6-localnet" >> $(IDIR_BASE_FILES)/etc/hosts
+ echo "ff00::0 ip6-mcastprefix" >> $(IDIR_BASE_FILES)/etc/hosts
+ echo "ff02::1 ip6-allnodes" >> $(IDIR_BASE_FILES)/etc/hosts
+ echo "ff02::2 ip6-allrouters" >> $(IDIR_BASE_FILES)/etc/hosts
+ echo "ff02::3 ip6-allhosts" >> $(IDIR_BASE_FILES)/etc/hosts
test -z $(ADK_RUNTIME_PASSWORD) || \
$(SED) 's,\*NP\*,'"$$($(STAGING_HOST_DIR)/usr/bin/mkcrypt \
${ADK_RUNTIME_PASSWORD}),g" $(IDIR_BASE_FILES)/etc/shadow