summary refs log tree commit diff
path: root/nixos/modules/system/boot/stage-2-init.sh
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-18 16:56:20 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-04-18 16:56:20 +0200
commitdd49094a25057211d77a3dc4d075a749db748139 (patch)
tree30636ed17df123355e348f8f51c10f1dd9f0ff3d /nixos/modules/system/boot/stage-2-init.sh
parentc13cede19d7ad1088e3eda358eb57890ef59bec7 (diff)
downloadnixlib-dd49094a25057211d77a3dc4d075a749db748139.tar
nixlib-dd49094a25057211d77a3dc4d075a749db748139.tar.gz
nixlib-dd49094a25057211d77a3dc4d075a749db748139.tar.bz2
nixlib-dd49094a25057211d77a3dc4d075a749db748139.tar.lz
nixlib-dd49094a25057211d77a3dc4d075a749db748139.tar.xz
nixlib-dd49094a25057211d77a3dc4d075a749db748139.tar.zst
nixlib-dd49094a25057211d77a3dc4d075a749db748139.zip
Put /nix/var/nix/{temproots,userpool} on a tmpfs
Diffstat (limited to 'nixos/modules/system/boot/stage-2-init.sh')
-rw-r--r--nixos/modules/system/boot/stage-2-init.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/stage-2-init.sh b/nixos/modules/system/boot/stage-2-init.sh
index cee9db091c14..5be38725ab72 100644
--- a/nixos/modules/system/boot/stage-2-init.sh
+++ b/nixos/modules/system/boot/stage-2-init.sh
@@ -106,7 +106,7 @@ fi
 
 
 # Also get rid of temporary GC roots.
-rm -rf /nix/var/nix/gcroots/tmp /nix/var/nix/temproots
+rm -rf /nix/var/nix/gcroots/tmp /nix/var/nix/temproots /nix/var/nix/userpool
 
 
 # Create a tmpfs on /run to hold runtime state for programs such as