3
0
Fork 0
forked from mirrors/nixpkgs

nixos-install: Create /etc

This commit is contained in:
Eelco Dolstra 2018-02-07 19:10:13 +01:00
parent 6daad9b3c5
commit 598a3f5b30
No known key found for this signature in database
GPG key ID: 8170B4726D7198DE

View file

@ -114,6 +114,7 @@ if [[ -z $noChannelCopy ]]; then
fi
# Mark the target as a NixOS installation, otherwise switch-to-configuration will chicken out.
mkdir -m 0755 "$mountPoint/etc"
touch "$mountPoint/etc/NIXOS"
# Switch to the new system configuration. This will install Grub with