netinit: need to mount tmpfs so we can download somewhere
This commit is contained in:
parent
5a6655e442
commit
cade020b95
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user