nixpkgs/nixos/modules
aszlig f94ea04805
nixos/activation: Avoid remounting non-existing FS
Regression introduced by 79d4636d50.

The mentioned commit moves /run/keys from stage 2 to
boot.specialFileSystems, the latter being remounted during system
activation.

Unfortunately, the specialMount function in the activation script does
this unconditionally and thus will fail if it can't be remounted because
the mount point simply doesn't exist.

We now check the mount point for existance and only remount if it exists
but mkdir + mount it if it doesn't.

Tested against the "simple" NixOS installer test.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
2016-09-26 02:04:54 +02:00
..
config treewide: deprecate ip-up.target (#18319) 2016-09-10 18:03:59 +02:00
hardware nixos opengl: use mesa_drivers.out 2016-09-24 19:21:39 +02:00
i18n/input-method nixos/input-methods: use gtk2 attribute for GTK 2 2016-09-23 17:28:47 -05:00
installer treewide: sshfsFuse -> sshfs-fuse 2016-09-18 17:44:30 +02:00
misc monetdb module: remove since it's not packaged 2016-09-19 23:11:13 +02:00
profiles treewide: sshfsFuse -> sshfs-fuse 2016-09-18 17:44:30 +02:00
programs Enable the runuser command from util-linux 2016-09-06 17:23:27 +02:00
security Merge branch 'rngd-wantedBy' of git://github.com/srp/nixpkgs-1 2016-09-19 19:06:51 -04:00
services connman: disable connman-vpn by default (#18323) 2016-09-25 08:02:29 +02:00
system nixos/activation: Avoid remounting non-existing FS 2016-09-26 02:04:54 +02:00
tasks Merge pull request #18691 from abbradar/keys-fs 2016-09-24 13:34:28 +04:00
testing KDE test: Bump kdm start timeout 2016-05-27 11:22:27 +02:00
virtualisation containers: fix dynamic hash lookup 2016-09-24 09:26:52 +02:00
module-list.nix Merge pull request #18463 from regnat/selfoss 2016-09-24 16:10:39 +02:00
rename.nix murmur service: welcome -> welcometext 2016-09-23 16:08:14 +02:00