mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-24 22:04:20 +00:00
eccc1e5bf4
The build of initrd-secrets can routinely fail for old boot entries if the secrets have been removed or renamed in a later generation. This always happens for generation 1, because it's built from the NixOS installer and the paths differs by the mount point (i.e. /mnt). The error is very confusing because it fails to mention it's about an older generation and that it's somewhat harmless. This commit turns the error into a warning for all generations but the current, adds the name of the failed entry to the message and a note explaining why it can happen. |
||
---|---|---|
.. | ||
loader | ||
systemd | ||
binfmt.nix | ||
emergency-mode.nix | ||
grow-partition.nix | ||
initrd-network.nix | ||
initrd-openvpn.nix | ||
initrd-ssh.nix | ||
kernel_config.nix | ||
kernel.nix | ||
kexec.nix | ||
luksroot.nix | ||
modprobe.nix | ||
networkd.nix | ||
pbkdf2-sha512.c | ||
plymouth.nix | ||
resolved.nix | ||
shutdown.nix | ||
stage-1-init.sh | ||
stage-1.nix | ||
stage-2-init.sh | ||
stage-2.nix | ||
systemd.nix | ||
timesyncd.nix | ||
tmp.nix | ||
uvesafb.nix |