Skip to content

Add EPEL 10 repo file for RHEL 10 support#72

Open
kkyrazis wants to merge 1 commit into
mainfrom
add-epel10-repo-file
Open

Add EPEL 10 repo file for RHEL 10 support#72
kkyrazis wants to merge 1 commit into
mainfrom
add-epel10-repo-file

Conversation

@kkyrazis
Copy link
Copy Markdown
Contributor

Summary

  • Adds flightctl-epel10.repo using $releasever_major (matching EPEL 10's own approach)
  • Adds flightctl-epel9.repo with hardcoded major version 9 as the new canonical EL9 repo file
  • Keeps flightctl-epel.repo unchanged for backwards compatibility
  • Updates README and HTML template with separate EL9/EL10 install instructions, including correct DNF4 vs DNF5 config-manager syntax

Context

The existing flightctl-epel.repo is hardcoded to epel/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_major is not supported on DNF 4.14 (RHEL 9), and $releasever can resolve to minor versions (e.g. 9.2) on cloud-provisioned instances (RhBZ#2219796).

Test plan

  • Verified $releasever_major resolves correctly on RHEL 10.1 (registry.redhat.io/rhel10/rhel-bootc)
  • Verified $releasever_major resolves correctly on CentOS Stream 10 (quay.io/centos-bootc/centos-bootc:stream10)
  • Verified $releasever resolves to 9 on RHEL 9.6 and RHEL 9.7
  • Confirmed $releasever_major is NOT supported on RHEL 9 DNF 4.14
  • Verify repo file serves correctly from GitHub Pages after merge

🤖 Generated with Claude Code

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>
@kkyrazis kkyrazis force-pushed the add-epel10-repo-file branch from 068b14e to 5af9cb2 Compare April 16, 2026 20:17
@kkyrazis kkyrazis requested a review from gshilin-sdb April 16, 2026 20:21
Comment thread templates/index.html.template
Comment thread flightctl-epel9.repo
[flightctl]
name=Flight Control RPM Repository (EPEL)
type=rpm-md
baseurl=https://rpm.flightctl.io/epel/9/$basearch/
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

9 should be $releasever_major

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

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

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Confirmed $releasever_major is NOT supported on RHEL 9 DNF 4.14

Ok, looks like claude tracked this for me.

Comment thread README.md
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