summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-02 00:13:13 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-02 00:13:13 +0100
commit73bea31429b94f8e07444f8595eb836f4296f7fc (patch)
tree1201bb1a8acc250a14a8d26aac577c8f9b9b112d /package/base-files
parentf693d009d687852fa3e83d438cbdf6de368bf726 (diff)
do not delete interfaces files, create empty file
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index dd500b592..e0cadbf9a 100644
--- a/package/base-files/Makefile
+++ b/package/base-files/Makefile
@@ -6,7 +6,7 @@ include $(TOPDIR)/mk/rootfs.mk
PKG_NAME:= base-files
PKG_VERSION:= 1.0
-PKG_RELEASE:= 35
+PKG_RELEASE:= 36
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
@@ -26,7 +26,7 @@ do-install:
# allow this to fail, as there might be no target-specific files to copy
-$(CP) $(TOPDIR)/target/$(ADK_TARGET)/files/* $(IDIR_BASE_FILES)
ifeq (${ADK_TARGET_ROOTFS_NFSROOT},y)
- @-rm $(IDIR_BASE_FILES)/etc/network/interfaces
+ @echo "#" > $(IDIR_BASE_FILES)/etc/network/interfaces
endif
$(SED) 's,@TARGET@,$(ADK_TARGET),g' $(IDIR_BASE_FILES)/etc/ipkg.conf
$(SED) 's,@HOST@,$(ADK_HOST),g' $(IDIR_BASE_FILES)/etc/ipkg.conf