netinit: need to mount tmpfs so we can download somewhere

This commit is contained in:
K. Lange 2018-12-03 09:44:15 +09:00
parent 5a6655e442
commit cade020b95
1 changed files with 2 additions and 0 deletions

View File

@ -453,6 +453,8 @@ int main(int argc, char * argv[]) {
(void)_stdout;
(void)_stderr;
mount("x", "/tmp", "tmpfs", 0, NULL);
framebuffer_fd = open("/dev/fb0", O_RDONLY);
if (framebuffer_fd < 0) {
has_video = 0;