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

View File

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