summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2013-08-14 09:34:48 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2013-08-14 09:34:48 +0200
commit96ff8e8c9f9207c377cc70aec47d7ee7a9881afe (patch)
tree2562f35bb50c7ed21ee30451035a4a144fb859df
parent8d2f8e89c7b4ed479c72000e54bc23621e665699 (diff)
fixes problem with musl, order of options seems important
-rw-r--r--package/base-files/Makefile2
-rwxr-xr-xpackage/base-files/src/init2
2 files changed, 2 insertions, 2 deletions
diff --git a/package/base-files/Makefile b/package/base-files/Makefile
index 996e1b195..c70bf6a5c 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:= 57
+PKG_RELEASE:= 58
PKG_SECTION:= base
PKG_DESCR:= basic files and scripts
diff --git a/package/base-files/src/init b/package/base-files/src/init
index ac689f046..003808452 100755
--- a/package/base-files/src/init
+++ b/package/base-files/src/init
@@ -7,7 +7,7 @@ mount -o nosuid,nodev,noexec -t sysfs sysfs /sys
[ ! -f /etc/notmpfs ] && {
size=$(cat /etc/tmpfs 2>/dev/null)
[ -z $size ] && size=2048
- mount tmpfs /tmp -t tmpfs -o nosuid,nodev,mode=1777,size=${size}k
+ mount -o nosuid,nodev,mode=1777,size=${size}k -t tmpfs tmpfs /tmp
}
mount -o remount,nosuid,size=128k,mode=0755 -t tmpfs mdev /dev
[ -d /dev/pts ] || mkdir /dev/pts