diff options
author | Thomas Strobel <ts468@cam.ac.uk> | 2015-04-18 15:31:23 +0200 |
---|---|---|
committer | Thomas Strobel <ts468@cam.ac.uk> | 2015-04-18 19:22:25 +0200 |
commit | 66c73da5f9fd5939f691ee17f93e7689ccaa5af2 (patch) | |
tree | c42b156666323cd1cf737308bb4278563bdf9340 /nixos | |
parent | ec10a5a67540ecd123fcffa23eaf6774b6507c88 (diff) | |
download | nixlib-66c73da5f9fd5939f691ee17f93e7689ccaa5af2.tar nixlib-66c73da5f9fd5939f691ee17f93e7689ccaa5af2.tar.gz nixlib-66c73da5f9fd5939f691ee17f93e7689ccaa5af2.tar.bz2 nixlib-66c73da5f9fd5939f691ee17f93e7689ccaa5af2.tar.lz nixlib-66c73da5f9fd5939f691ee17f93e7689ccaa5af2.tar.xz nixlib-66c73da5f9fd5939f691ee17f93e7689ccaa5af2.tar.zst nixlib-66c73da5f9fd5939f691ee17f93e7689ccaa5af2.zip |
Fix grub for "nodev" targets.
Diffstat (limited to 'nixos')
-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 2ef1fca19835..81009e9fb821 100644 --- a/nixos/modules/system/boot/loader/grub/install-grub.pl +++ b/nixos/modules/system/boot/loader/grub/install-grub.pl @@ -468,8 +468,8 @@ sub getEfiTarget { if ($grubTargetEfi eq "") { die } else {return "only" } } else { - # at least one grub target has to be given - die + # prevent an installation if neither grub nor grubEfi is given + return "neither" } } |