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

foreman-bootloaders-redhat: Add efinet only on *-efi platforms. #6325

Merged
merged 1 commit into from Feb 22, 2021

Conversation

olifre
Copy link

@olifre olifre commented Feb 19, 2021

This fixes an issue introduced in 311d91c,
since efinet.mod is only provided for *-efi platforms.

I introduced that bug in #6219 / version 202102211600-1. While the generation works, it fails if generation is done for a non-efi platform, since efinet.mod does not exist there.

This fixes an issue introduced in 311d91c,
since efinet.mod is only provided for *-efi platforms.
@theforeman-bot
Copy link
Member

Can one of the admins verify this patch?

1 similar comment
@theforeman-bot
Copy link
Member

Can one of the admins verify this patch?

@evgeni
Copy link
Member

evgeni commented Feb 19, 2021

ok to test

Copy link
Member

@lzap lzap left a comment

Choose a reason for hiding this comment

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

Tested this time:

[root@sat69 ~]# foreman-generate-bootloaders
grub2-mkimage: error: cannot open `/usr/lib/grub/i386-pc//efinet.mod': No such file or directory.

After the patch:

[root@sat69 ~]# foreman-generate-bootloaders 

Sorry about breaking this, I did not realize that.

@lzap lzap merged commit 6e1edd7 into theforeman:rpm/develop Feb 22, 2021
@olifre
Copy link
Author

olifre commented Feb 22, 2021

Sorry about breaking this, I did not realize that.

I have to be sorry. I could have sworn I tested it, but apparently I did not test it well enough :-(.

At least I realized before a new Foreman release was cut with it. Thanks a lot for merging this :-).

@olifre olifre deleted the grub2-efinet-only-on-efi branch February 22, 2021 23:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants