1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
nixpkgs/nixos/modules
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
..
config Merge remote-tracking branch 'origin/master' into staging-next 2023-01-11 03:51:33 +01:00
hardware Merge master into staging-next 2023-01-06 00:02:28 +00:00
i18n/input-method nixos/manual: move "edit the MD file" comments to generated XML 2023-01-10 12:34:37 +01:00
installer Merge pull request #206655 from vlinkz/distroname 2023-01-15 17:39:55 +01:00
misc nixos/version: add config.system.nixos.distroName and config.system.nixos.distroId 2023-01-14 16:19:06 -05:00
profiles services.openssh: support freeform settings (#193757) 2023-01-15 16:32:46 +01:00
programs Merge pull request #209538 from voidzero/zsh-syntax-hl.regexp 2023-01-15 00:26:10 +01:00
security Merge master into staging-next 2023-01-13 18:01:34 +00:00
services Merge pull request #204342 from anpandey/znc 2023-01-16 02:07:30 +01:00
system install-grub.pl: improve initrd-secrets error messages 2023-01-16 02:30:39 +01:00
tasks nixos/version: add config.system.nixos.distroName and config.system.nixos.distroId 2023-01-14 16:19:06 -05:00
testing Merge pull request #207801 from ElvishJerricco/systemd-stage-1-test-instrumentation 2022-12-28 01:43:03 +01:00
virtualisation Merge pull request #206655 from vlinkz/distroname 2023-01-15 17:39:55 +01:00
module-list.nix nixos/photoprism: init module 2023-01-15 18:02:43 +01:00
rename.nix modules: add mkAliasOptionModuleMD 2023-01-05 02:33:13 +01:00