use tmpfs instead ramfs, strange that i do not need to add any kernel option, it works out of the box, and dd if=/dev/zero of=test bs=1024k count=100 does not kill the box anymore
git-svn-id: svn://svn.openwrt.org/openwrt/trunk/openwrt@770 3c298f89-4303-0410-b956-a3cf2f4a3e73master
parent
772d07ee3b
commit
c33e81a0a2
|
@ -19,6 +19,6 @@ if [ "$1" != "failsafe" ]; then
|
||||||
umount rom/proc rom/dev
|
umount rom/proc rom/dev
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
mount none /tmp -t ramfs
|
mount none /tmp -t tmpfs size=50%
|
||||||
mkdir -p /dev/pts
|
mkdir -p /dev/pts
|
||||||
mount none /dev/pts -t devpts
|
mount none /dev/pts -t devpts
|
||||||
|
|
|
@ -65,5 +65,4 @@ config BR2_BINUTILS_VERSION
|
||||||
default "2.15.92.0.2" if BR2_BINUTILS_VERSION_2_15_92_0_2
|
default "2.15.92.0.2" if BR2_BINUTILS_VERSION_2_15_92_0_2
|
||||||
default "2.15.94.0.1" if BR2_BINUTILS_VERSION_2_15_94_0_1
|
default "2.15.94.0.1" if BR2_BINUTILS_VERSION_2_15_94_0_1
|
||||||
default "2.15.94.0.2" if BR2_BINUTILS_VERSION_2_15_94_0_2 || !CONFIG_DEVEL
|
default "2.15.94.0.2" if BR2_BINUTILS_VERSION_2_15_94_0_2 || !CONFIG_DEVEL
|
||||||
default "2.15.94.0.2.2" if BR2_BINUTILS_VERSION_2_15_94_0_2_2
|
|
||||||
default "2.16.90.0.1" if BR2_BINUTILS_VERSION_2_16_90_0_1
|
default "2.16.90.0.1" if BR2_BINUTILS_VERSION_2_16_90_0_1
|
||||||
|
|
|
@ -14,7 +14,7 @@ config BR2_GCC_3_4
|
||||||
|
|
||||||
choice
|
choice
|
||||||
prompt "GCC compiler Version" if CONFIG_DEVEL
|
prompt "GCC compiler Version" if CONFIG_DEVEL
|
||||||
default BR2_GCC_VERSION_3_4_3
|
default BR2_GCC_VERSION_3_3_5
|
||||||
help
|
help
|
||||||
Select the version of gcc you wish to use.
|
Select the version of gcc you wish to use.
|
||||||
|
|
||||||
|
@ -33,8 +33,8 @@ endchoice
|
||||||
|
|
||||||
config BR2_GCC_VERSION
|
config BR2_GCC_VERSION
|
||||||
string
|
string
|
||||||
default "3.3.5" if BR2_GCC_VERSION_3_3_5
|
default "3.3.5" if BR2_GCC_VERSION_3_3_5 || !CONFIG_DEVEL
|
||||||
default "3.4.3" if BR2_GCC_VERSION_3_4_3 || !CONFIG_DEVEL
|
default "3.4.3" if BR2_GCC_VERSION_3_4_3
|
||||||
default "4.0.0" if BR2_GCC_VERSION_4_0_0
|
default "4.0.0" if BR2_GCC_VERSION_4_0_0
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue