summaryrefslogtreecommitdiff
path: root/package/base-files
diff options
context:
space:
mode:
Diffstat (limited to 'package/base-files')
-rw-r--r--package/base-files/Makefile9
-rw-r--r--package/base-files/files/fstab1
-rw-r--r--package/base-files/files/modules (renamed from package/base-files/src/etc/modules)0
3 files changed, 5 insertions, 5 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 9c9ef9395..ebfe9c1ee 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:= 23
+PKG_RELEASE:= 24
PKG_SECTION:= base/apps
PKG_DESCR:= basic files and scripts
@@ -23,19 +23,18 @@ INSTALL_STYLE:= manual
do-install:
$(CP) ./src/* $(IDIR_BASE_FILES)
- mkdir -p $(IDIR_BASE_FILES)/{etc,dev,boot,root,sys,proc,tmp,run,mnt,media}
+ mkdir -p $(IDIR_BASE_FILES)/{etc,dev,boot,root,sys,proc,tmp,run,var,mnt,media}
mkdir -p $(IDIR_BASE_FILES)/usr/{lib,bin,sbin}
- mkdir -p $(IDIR_BASE_FILES)/var/{log,lib}
ln -sf ../run $(IDIR_BASE_FILES)/var/run
chmod 600 $(IDIR_BASE_FILES)/etc/shadow
chmod 1777 ${IDIR_BASE_FILES}/tmp
ifeq ($(ADK_RUNTIME_INIT_SYSTEMD),)
+ echo $(ADK_RUNTIME_TMPFS_SIZE) > $(IDIR_BASE_FILES)/etc/tmpfs
mkdir -p $(IDIR_BASE_FILES)/etc/init.d
cp ./files/init.d/* $(IDIR_BASE_FILES)/etc/init.d
mkdir -p $(IDIR_BASE_FILES)/etc/network/{if-pre-up.d,if-up.d,if-down.d,if-post-down.d}
- ln -sf ../tmp $(IDIR_BASE_FILES)/var/tmp
- echo $(ADK_RUNTIME_TMPFS_SIZE) > $(IDIR_BASE_FILES)/etc/tmpfs
cp ./files/fstab $(IDIR_BASE_FILES)/etc
+ cp ./files/modules $(IDIR_BASE_FILES)/etc
ln -sf ../proc/mounts $(IDIR_BASE_FILES)/etc/mtab
ifeq ($(ADK_TARGET_WITH_NETDEVICE),y)
cp ./files/interfaces-dhcp $(IDIR_BASE_FILES)/etc/network/interfaces
diff --git a/package/base-files/files/fstab b/package/base-files/files/fstab
index 06f19d9b6..6ceedf30f 100644
--- a/package/base-files/files/fstab
+++ b/package/base-files/files/fstab
@@ -5,6 +5,7 @@ devpts /dev/pts devpts defaults,gid=5,mode=620 0 0
tmpfs /dev/shm tmpfs mode=0777 0 0
tmpfs /tmp tmpfs mode=1777 0 0
tmpfs /run tmpfs mode=777 0 0
+tmpfs /var tmpfs mode=755 0 0
sysfs /sys sysfs defaults 0 0
tmpfs /media tmpfs defaults 0 0
# example for cifs
diff --git a/package/base-files/src/etc/modules b/package/base-files/files/modules
index 014f40f2b..014f40f2b 100644
--- a/package/base-files/src/etc/modules
+++ b/package/base-files/files/modules