Skip to content

Commit

Permalink
build.sh: Fix coreos repo link
Browse files Browse the repository at this point in the history
 - The latest repository is no longer available, likely due to an issue
   with the Koji repositories. As a workaround, this change forces the
   use of specific repository number to allow the cosa builds to work.

Signed-off-by: Renata Ravanelli <[email protected]>
  • Loading branch information
ravanelli committed Jan 16, 2025
1 parent 5ea43df commit 2340c1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ configure_yum_repos() {
# Add continuous tag for latest build tools and mark as required so we
# can depend on those latest tools being available in all container
# builds.
echo -e "[f${version_id}-coreos-continuous]\nenabled=1\nmetadata_expire=1m\nbaseurl=https://kojipkgs.fedoraproject.org/repos-dist/f${version_id}-coreos-continuous/latest/\$basearch/\ngpgcheck=0\nskip_if_unavailable=False\n" > /etc/yum.repos.d/coreos.repo
echo -e "[f${version_id}-coreos-continuous]\nenabled=1\nmetadata_expire=1m\nbaseurl=https://kojipkgs.fedoraproject.org/repos-dist/f${version_id}-coreos-continuous/5333830/\$basearch/\ngpgcheck=0\nskip_if_unavailable=False\n" > /etc/yum.repos.d/coreos.repo
}

install_rpms() {
Expand Down

0 comments on commit 2340c1b

Please sign in to comment.