Browse Source

fixes problem with musl, order of options seems important

Waldemar Brodkorb 10 years ago
parent
commit
96ff8e8c9f
2 changed files with 2 additions and 2 deletions
  1. 1 1
      package/base-files/Makefile
  2. 1 1
      package/base-files/src/init

+ 1 - 1
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
 

+ 1 - 1
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