commit 64898eada866a1ce173edb37686b3564876d3fcb
parent 136c5e6f3246c93b3e4aeebb503d7e2e69f6a7be
Author: Daniel Barlow <dan@telent.net>
Date: Thu, 4 Jan 2024 23:22:02 +0000
mount tmpfs on /tmp
too much stuff doesn't work without it and it's not
all worth patching
Diffstat:
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/base.nix b/modules/base.nix
@@ -134,6 +134,7 @@ in {
proc = dir {};
run = dir {};
sys = dir {};
+ tmp = dir {};
};
};
}
diff --git a/modules/s6/scripts/rc.init b/modules/s6/scripts/rc.init
@@ -17,6 +17,7 @@ shift
mount -t proc none /proc
mount -t sysfs none /sys
+mount -t tmpfs none /tmp
# s6-linux-init mounts /dev before this script is called
mkdir /dev/pts
mount -t devpts none /dev/pts