summaryrefslogtreecommitdiff
path: root/package/base-files/Makefile
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-12-02 13:50:49 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-12-02 13:50:49 +0100
commit1a0bc22e751dc1a91073e47b61a4135cec549633 (patch)
tree71d279d06dc068cc77cd360d45fd3599b962e3a0 /package/base-files/Makefile
parent93f115b74d90ab06c101d37225fb6125d5dc33de (diff)
parent0ccba89e05c01ce234adc7242ad7342d23b4f9df (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/base-files/Makefile')
-rw-r--r--package/base-files/Makefile12
1 files changed, 3 insertions, 9 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 14a884bcf..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:= 34
+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
@@ -43,18 +43,12 @@ endif
ifneq (${ADK_PACKAGE_ZSH},)
echo /bin/zsh >>${IDIR_BASE_FILES}/etc/shells
endif
- mkdir -p $(IDIR_BASE_FILES)/dev
- mkdir -p $(IDIR_BASE_FILES)/boot
- mkdir -p $(IDIR_BASE_FILES)/root
- mkdir -p $(IDIR_BASE_FILES)/sys
+ mkdir -p $(IDIR_BASE_FILES)/{dev,boot,root,sys,proc,tmp,mnt}
mkdir -p $(IDIR_BASE_FILES)/etc/crontabs
mkdir -p $(IDIR_BASE_FILES)/etc/network/if-pre-up.d
mkdir -p $(IDIR_BASE_FILES)/etc/network/if-up.d
mkdir -p $(IDIR_BASE_FILES)/etc/network/if-down.d
mkdir -p $(IDIR_BASE_FILES)/etc/network/if-post-down.d
- mkdir -p $(IDIR_BASE_FILES)/mnt
- mkdir -p $(IDIR_BASE_FILES)/proc
- mkdir -p $(IDIR_BASE_FILES)/tmp
mkdir -p $(IDIR_BASE_FILES)/usr/lib
mkdir -p $(IDIR_BASE_FILES)/usr/bin
chmod 755 $(IDIR_BASE_FILES)/lib/mdev/init