base-files: create /var/tmp on boot

FHS mandates presence of /var/tmp on compliant systems.

The lack of /var/tmp was discovered when using MIT Kerberos libraries
which default to that location for storing credentials cache.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>

SVN-Revision: 47219
This commit is contained in:
John Crispin 2015-10-19 10:09:46 +00:00
parent 6944a95091
commit 1c74d046ed

View File

@ -26,6 +26,7 @@ boot() {
mkdir -p /var/log
mkdir -p /var/lock
mkdir -p /var/state
mkdir -p /var/tmp
mkdir -p /tmp/.uci
chmod 0700 /tmp/.uci
mkdir -p /tmp/.jail