mount tmpfs on /tmp

too much stuff doesn't work without it and it's not
all worth patching
This commit is contained in:
Daniel Barlow 2024-01-04 23:22:02 +00:00
parent 136c5e6f32
commit 64898eada8
2 changed files with 2 additions and 0 deletions

View file

@ -134,6 +134,7 @@ in {
proc = dir {}; proc = dir {};
run = dir {}; run = dir {};
sys = dir {}; sys = dir {};
tmp = dir {};
}; };
}; };
} }

View file

@ -17,6 +17,7 @@ shift
mount -t proc none /proc mount -t proc none /proc
mount -t sysfs none /sys mount -t sysfs none /sys
mount -t tmpfs none /tmp
# s6-linux-init mounts /dev before this script is called # s6-linux-init mounts /dev before this script is called
mkdir /dev/pts mkdir /dev/pts
mount -t devpts none /dev/pts mount -t devpts none /dev/pts