Some commands create temporary files in /. Create /tmp to offer these commands an appropriate place for storing temporary files. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- common/startup.c | 1 + 1 file changed, 1 insertion(+) diff --git a/common/startup.c b/common/startup.c index 432be67cd6..8553849cb3 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)) { -- 2.15.1 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox