nixos/activation: Rename "tmpfs" to "specialfs"
Using "tmpfs" as a script part for system.activationScripts is a bit
misleading since 6efcfe03ae4ef426b77a6827243433b5296613a4.
We no longer solely mount tmpfs within this script, so using "specialfs"
fits more nicely in terms of naming.
Tested against the "simple" NixOS installer test.
Signed-off-by: aszlig <aszlig@redmoonstudios.org>
commitcb2f84e4d70772804d723b10cc2469bfcd658488
authoraszlig <aszlig@redmoonstudios.org>
dateMon 26 Sep 2016, 02:00 (10 years ago)
parentf94ea04
nixos/modules/config/networking.nix+1−1
@@ -232,7 +232,7 @@ in
232232 # and other configurations. If the file is destroyed by an environment
233233 # activation then it must be rebuilt so that applications which interface
234234 # with /etc/resolv.conf directly don't break.
235− system.activationScripts.resolvconf = stringAfter [ "etc" "tmpfs" "var" ]
235+ system.activationScripts.resolvconf = stringAfter [ "etc" "specialfs" "var" ]
236236 ''
237237 # Systemd resolved controls its own resolv.conf
238238 rm -f /run/resolvconf/interfaces/systemd
nixos/modules/system/activation/activation-script.nix+1−1
@@ -159,7 +159,7 @@ in
159159 rmdir --ignore-fail-on-non-empty /usr/bin /usr
160160 '';
161161
162− system.activationScripts.tmpfs =
162+ system.activationScripts.specialfs =
163163 ''
164164 specialMount() {
165165 local device="$1"