Add EPEL 10 repo file for RHEL 10 support#72
Open
kkyrazis wants to merge 1 commit into
Open
Conversation
Keep flightctl-epel.repo unchanged for backwards compatibility. Add flightctl-epel9.repo (hardcoded to epel/9) and flightctl-epel10.repo (using $releasever_major) following the same approach EPEL itself uses for per-major-version repo files. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
068b14e to
5af9cb2
Compare
gshilin-sdb
reviewed
Apr 19, 2026
| [flightctl] | ||
| name=Flight Control RPM Repository (EPEL) | ||
| type=rpm-md | ||
| baseurl=https://rpm.flightctl.io/epel/9/$basearch/ |
Collaborator
There was a problem hiding this comment.
9 should be $releasever_major
Contributor
Author
There was a problem hiding this comment.
I'll have to re-verify, but if I remember correctly, $releasever_major is dnf5 only, which is ultimately why we're in this rhel9/rhel10 separate repo mess
Contributor
Author
There was a problem hiding this comment.
Confirmed $releasever_major is NOT supported on RHEL 9 DNF 4.14
Ok, looks like claude tracked this for me.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
flightctl-epel10.repousing$releasever_major(matching EPEL 10's own approach)flightctl-epel9.repowith hardcoded major version9as the new canonical EL9 repo fileflightctl-epel.repounchanged for backwards compatibilityconfig-managersyntaxContext
The existing
flightctl-epel.repois hardcoded toepel/9/. RHEL 10 uses DNF5 which supports$releasever_major, so the EL10 repo file follows the same pattern as EPEL 10 itself. EL9 stays hardcoded because$releasever_majoris not supported on DNF 4.14 (RHEL 9), and$releasevercan resolve to minor versions (e.g.9.2) on cloud-provisioned instances (RhBZ#2219796).Test plan
$releasever_majorresolves correctly on RHEL 10.1 (registry.redhat.io/rhel10/rhel-bootc)$releasever_majorresolves correctly on CentOS Stream 10 (quay.io/centos-bootc/centos-bootc:stream10)$releaseverresolves to9on RHEL 9.6 and RHEL 9.7$releasever_majoris NOT supported on RHEL 9 DNF 4.14🤖 Generated with Claude Code