summaryrefslogtreecommitdiff
path: root/package/base-files/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r--package/base-files/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 14c04cefa..b447b643b 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:= 8
+PKG_RELEASE:= 9
PKG_SECTION:= base/apps
PKG_DESCR:= basic files and scripts
@@ -55,7 +55,11 @@ endif
mkdir -p $(IDIR_BASE_FILES)/usr/{lib,bin}
chmod 600 $(IDIR_BASE_FILES)/etc/shadow
chmod 600 $(IDIR_BASE_FILES)/etc/network/interfaces
+ifeq (${ADK_TARGET_ROOTFS_NFSROOT},y)
+ (cd $(IDIR_BASE_FILES)/etc; ln -sf ../proc/net/pnp resolv.conf)
+else
(cd $(IDIR_BASE_FILES)/etc; ln -sf ../tmp/resolv.conf .)
+endif
chmod 1777 ${IDIR_BASE_FILES}/tmp
ln -sf ../proc/mounts $(IDIR_BASE_FILES)/etc/mtab
rm -rf $(IDIR_BASE_FILES)/var