nixpkgs/nixos/modules/system/boot/loader
rnhmjoj eccc1e5bf4
install-grub.pl: improve initrd-secrets error messages
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.
2023-01-16 02:30:39 +01:00
..
external nixos/manual: move "edit the MD file" comments to generated XML 2023-01-10 12:34:37 +01:00
generations-dir nixos/system: invariant option docs MD conversions 2022-07-24 13:01:47 +02:00
generic-extlinux-compatible nixos/*: automatically convert option docs 2022-08-06 20:39:12 +02:00
grub install-grub.pl: improve initrd-secrets error messages 2023-01-16 02:30:39 +01:00
init-script nixos/version: add config.system.nixos.distroName and config.system.nixos.distroId 2023-01-14 16:19:06 -05:00
raspberrypi nixos/*: md-"convert" empty descriptions 2022-08-31 16:32:54 +02:00
systemd-boot nixos/version: add config.system.nixos.distroName and config.system.nixos.distroId 2023-01-14 16:19:06 -05:00
efi.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00
loader.nix treewide: automatically md-convert option descriptions 2022-07-30 15:16:34 +02:00