summaryrefslogtreecommitdiffstats
path: root/common/startup.c
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2018-02-08 09:04:27 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2018-02-08 09:04:27 +0100
commit0dce5375d799e727bd1aa5ccdb28156d9bcd4d17 (patch)
treee1c6dd036a69ab954616219dfa0cee8312bb43f8 /common/startup.c
parent6f826bfe45298721a92bbe93d32a6a0eb76d46ee (diff)
parent74cdc34323ee23b9b195866c56699e268f05841a (diff)
downloadbarebox-0dce5375d799e727bd1aa5ccdb28156d9bcd4d17.tar.gz
Merge branch 'for-next/tftp-workaround'
Diffstat (limited to 'common/startup.c')
-rw-r--r--common/startup.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common/startup.c b/common/startup.c
index 8b07542..8940674 100644
--- a/common/startup.c
+++ b/common/startup.c
@@ -54,6 +54,7 @@ static int mount_root(void)
{
mount("none", "ramfs", "/", NULL);
mkdir("/dev", 0);
+ mkdir("/tmp", 0);
mount("none", "devfs", "/dev", NULL);
if (IS_ENABLED(CONFIG_FS_EFIVARFS)) {