Skip to content

Schutzfile: write Fedora Updates repo config to fedora-updates.repo - #2770

Merged
achilleas-k merged 1 commit into
osbuild:mainfrom
achilleas-k:replace-fedora-updates
Oct 16, 2026
Merged

achilleas-k merged 1 commit into
osbuild:mainfrom
achilleas-k:replace-fedora-updates

Conversation

@achilleas-k

Copy link
Copy Markdown
Member

When we write both repositories to fedora.repo, our fedora-updates repository and the original system fedora-updates repository are configured and enabled on the system. This, somehow, makes the metadata download for our fedora-updates repository very very slow. In CI runs, it takes up to 6 minutes, slowing down all jobs that run on Fedora (which is most test builds).

Writing the updates repository configuration to
/etc/yum.repos.d/fedora-updates.repo overwrites the system configuration. This is how we've always been doing it in osbuild-composer.

When we write both repositories to fedora.repo, our fedora-updates
repository and the original system fedora-updates repository are
configured and enabled on the system.  This, somehow, makes the metadata
download for our fedora-updates repository very very slow.  In CI runs,
it takes up to 6 minutes, slowing down all jobs that run on Fedora
(which is most test builds).

Writing the updates repository configuration to
/etc/yum.repos.d/fedora-updates.repo overwrites the system
configuration.  This is how we've always been doing it in
osbuild-composer.
@achilleas-k
achilleas-k requested a review from a team as a code owner October 15, 2026 21:31

@brlane-rht brlane-rht left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Perfect!

@achilleas-k
achilleas-k enabled auto-merge October 15, 2026 22:35
@achilleas-k
achilleas-k added this pull request to the merge queue Oct 15, 2026
Merged via the queue into osbuild:main with commit 964a2fd Oct 16, 2026
47 of 55 checks passed
@achilleas-k
achilleas-k deleted the replace-fedora-updates branch October 16, 2026 00:14
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