fix(roles/repo_baseos): align Rocky 8 security repo with Rocky 9/10#260
Merged
Conversation
The Rocky 8 `Rocky-Security.repo` only shipped the `[security]` stanza without `countme`, `metadata_expire=6h` or the `$rltype` mirrorlist variable, and was missing the `security-debuginfo` / `security-source` sub-repositories that the Rocky 9/10 templates (and the upstream stock repo) include. Regenerate the Rocky 8 template from the Rocky 9 one (adjusting the version path and the gpg key) so all Rocky versions are consistent.
# Conflicts: # CHANGELOG.md
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.
What
Brings the Rocky 8
Rocky-Security.repotemplate to parity with the Rocky 9/10 templates (and the upstream stock repo).Why
The Rocky 8 template only had the
[security]stanza and was missing:countme=1andmetadata_expire=6h(the short expiry lets hosts notice emergency hot-fixes within 6h instead of dnf's default cache window),$rltypemirrorlist variable,security-debuginfoandsecurity-sourcesub-repositories (disabled), which Rocky 9/10 and the stock Rocky 8 repo ship.How
Regenerated the Rocky 8 template from the Rocky 9 one, adjusting only the version path (
/rocky/8/) and the gpg key (RPM-GPG-KEY-rockyofficial, which is byte-identical toRPM-GPG-KEY-Rocky-8). The custom-mirror vs. mirrorlist logic, basic-auth handling andenabledtoggle are unchanged.Verification
Rendered both branches (mirror set / unset) and verified against the stock Rocky 8
Rocky-Security.repo. Follow-up to the security repo added in #258's sibling work.