Skip to content

Add missing base RHEL 9 repository IDs#206

Open
sshedmake wants to merge 1 commit into
release-engineering:mainfrom
sshedmake:fix-missing-el9-repos
Open

Add missing base RHEL 9 repository IDs#206
sshedmake wants to merge 1 commit into
release-engineering:mainfrom
sshedmake:fix-missing-el9-repos

Conversation

@sshedmake

Copy link
Copy Markdown

Summary

This PR adds the missing base RHEL 9 repository IDs to data/known_rpm_repositories.yml:

  • rhel-9-appstream
  • rhel-9-baseos
  • rhel-9-appstream-source
  • rhel-9-baseos-source

These simple repository IDs are used in bootc container builds and differ from the verbose architecture-specific format (e.g., rhel-9-for-x86_64-appstream-rpms) that was already present in the known repositories list.

Problem

Without these repository IDs, bootc container builds that use RHEL 9 base images fail Enterprise Contract validation with 208+ violations from the rpm_repos.ids_known check. Teams have been forced to use workarounds like time-bound exclusions or team-specific allowlists.

Solution

Added the four base repository IDs to hack/extra_rpm_repositories.yml and regenerated data/known_rpm_repositories.yml using the update script. This allows bootc builds to pass standard EC validation without requiring team-specific workarounds.

Test plan

  • Added repository IDs to hack/extra_rpm_repositories.yml
  • Regenerated data/known_rpm_repositories.yml using hack/update-known-rpm-repositories.sh
  • Verified all four IDs are present in the generated file
  • Verify bootc builds pass EC validation with these IDs

Fixes #205

🤖 Generated with Claude Code

This adds the simple base RHEL 9 repository IDs that are used in bootc
container builds:
- rhel-9-appstream
- rhel-9-baseos
- rhel-9-appstream-source
- rhel-9-baseos-source

These IDs are different from the verbose architecture-specific format
(e.g., rhel-9-for-x86_64-appstream-rpms) and were causing Enterprise
Contract validation failures for bootc builds.

Fixes release-engineering#205

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
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.

Missing base RHEL 9 repository IDs in known_rpm_repositories.yml

1 participant