diff options
author | figsoda <figsoda@pm.me> | 2023-05-19 22:11:38 -0400 |
---|---|---|
committer | figsoda <figsoda@pm.me> | 2023-05-19 22:31:04 -0400 |
commit | 701bcdbead7597cddd3fc92a3581da95a138ef45 (patch) | |
tree | ea0f189faa8509d9d391dbfcdf5f51d10376634f /nixos/modules/system/boot/loader | |
parent | a31ca7f2202c5f2bcf7b943bee021f69f9bdd5c5 (diff) | |
download | nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar.gz nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar.bz2 nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar.lz nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar.xz nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.tar.zst nixpkgs-701bcdbead7597cddd3fc92a3581da95a138ef45.zip |
nixos: fix typos
Diffstat (limited to 'nixos/modules/system/boot/loader')
-rw-r--r-- | nixos/modules/system/boot/loader/grub/install-grub.pl | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixos/modules/system/boot/loader/grub/install-grub.pl b/nixos/modules/system/boot/loader/grub/install-grub.pl index cfccb93264b..27f03f2fb58 100644 --- a/nixos/modules/system/boot/loader/grub/install-grub.pl +++ b/nixos/modules/system/boot/loader/grub/install-grub.pl @@ -213,7 +213,7 @@ sub GrubFs { $search .= $matches[0]; } - # BTRFS is a special case in that we need to fix the referrenced path based on subvolumes + # BTRFS is a special case in that we need to fix the referenced path based on subvolumes if ($fs->type eq 'btrfs') { my ($status, @id_info) = runCommand("@btrfsprogs@/bin/btrfs", "subvol", "show", @{[$fs->mount]}); if ($status != 0) { @@ -586,7 +586,7 @@ sub getEfiTarget { if (($grubTarget eq "") || ($grubTargetEfi eq "")) { die } else { return "both" } } elsif (($grub ne "") && ($grubEfi eq "")) { - # TODO: It would be safer to disallow non-EFI grub installation if no taget is given. + # TODO: It would be safer to disallow non-EFI grub installation if no target is given. # If no target is given, then grub auto-detects the target which can lead to errors. # E.g. it seems as if grub would auto-detect a EFI target based on the availability # of a EFI partition. |