Skip to content

Commit

Permalink
fb_grub: support Fedora too for grub-install
Browse files Browse the repository at this point in the history
Summary:
This is needed for ELN but should help if there's any non-EFI fedora
installs as well

Differential Revision: D55753946

fbshipit-source-id: 066ca67c63d41572b26eaf57f5bcdec69878f25a
  • Loading branch information
davide125 authored and facebook-github-bot committed Apr 5, 2024
1 parent 03ff688 commit 176ef30
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cookbooks/fb_grub/recipes/packages.rb
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
command lazy {
cmd = value_for_platform_family(
'debian' => 'grub-install',
'rhel' => 'grub2-install',
['fedora', 'rhel'] => 'grub2-install',
)
# device of root-mount, strip off partition
# note that this is a hack and it doesn't support properly dm devices
Expand Down

0 comments on commit 176ef30

Please sign in to comment.