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

fix: Fix the role for UEFI systems #90

Merged
merged 1 commit into from
Feb 26, 2024

Conversation

spetrosi
Copy link
Contributor

@spetrosi spetrosi commented Feb 26, 2024

Enhancement: Fix the role for UEFI systems

Reason: On UEFI systems, grub config might not have a full config, but a stub that redirects to a common config in /boot/grub2/grub.cfg.

Result: The role works properly on both BIOS on UEFI systems

@spetrosi spetrosi requested a review from richm as a code owner February 26, 2024 16:58
@spetrosi
Copy link
Contributor Author

[citest]

Copy link

codecov bot commented Feb 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.43%. Comparing base (51f56a4) to head (574f889).

Additional details and impacted files
@@            Coverage Diff            @@
##           main      #90       +/-   ##
=========================================
+ Coverage      0   78.43%   +78.43%     
=========================================
  Files         0        2        +2     
  Lines         0      255      +255     
=========================================
+ Hits          0      200      +200     
- Misses        0       55       +55     
Flag Coverage Δ
sanity ∅ <ø> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

tasks/main.yml Outdated Show resolved Hide resolved
vars/main.yml Show resolved Hide resolved
@spetrosi
Copy link
Contributor Author

I provisioned a PowerPC machine in Beaker, and it uses grub, my tests passed on it.
s390x machine uses a different bootloader zipl, role doesn't support it

@spetrosi
Copy link
Contributor Author

[citest]

2 similar comments
@spetrosi
Copy link
Contributor Author

[citest]

@spetrosi
Copy link
Contributor Author

[citest]

- Regenerate grub config properly
- Fix __bootloader_uefi_ directories for other than RHEL distributions
- Add a note about supported architectuers in README
- Fix licence
- Use a general grub conf path if UEFI path is a stub
@spetrosi
Copy link
Contributor Author

[citest]

@spetrosi spetrosi changed the title fix: Regenerate grub config properly and fix upstream uefi configs fix: Fix the role for UEFI systems Feb 26, 2024
@spetrosi spetrosi merged commit 6bac514 into linux-system-roles:main Feb 26, 2024
28 of 29 checks passed
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.

2 participants