Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixed the EFI code for grub_config and grub_menuentry #48

Merged
merged 3 commits into from Mar 11, 2020

Conversation

tparkercbn
Copy link
Contributor

The grub.cfg path was not being found for grub_config and grub_menuentry providers with EFI and grub2. This pull request fixes that.

…for grub2. Code copied from kernel_parameter/grub2.rb
…for grub2. Code copied from kernel_parameter/grub2.rb

Added missing setting of os_name in grub_config/grub2.rb and grub_menuentry/grub2.rb
Copy link
Contributor

@trevor-vaughan trevor-vaughan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We're going to have to park this one for the moment.

@tparkercbn Do you have a good way of detecting whether or not EFI mode is being used? The reason that we didn't do this initially is that we couldn't figure out how to do this and you could end up updating a file that has no effect.

Should we update both files?

@tparkercbn
Copy link
Contributor Author

tparkercbn commented Mar 11, 2020 via email

@trevor-vaughan
Copy link
Contributor

@tparkercbn Good call. I'll approve this and push it based on your use in production. Thanks!

@trevor-vaughan trevor-vaughan merged commit 02ccac5 into voxpupuli:master Mar 11, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants