Update repo file for fedora-28

With the release of fedora-28, the default locations for
fedora-update.repo have changed. We still need to support fedora-27
until fedora-29 is released.

Change-Id: I8eacd659cf18a8dc571aea6531483610fcd91d1a
Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
Paul Belanger 2018-05-02 09:25:15 -04:00
parent 19868f7d2b
commit 49711c6540
No known key found for this signature in database
GPG Key ID: 611A80832067AF38
1 changed files with 12 additions and 0 deletions

View File

@ -2,7 +2,11 @@
[updates]
name=Fedora $releasever - $basearch - Updates
failovermethod=priority
{% if ansible_distribution_version | version_compare('28', '<') %}
baseurl={{ package_mirror }}/updates/$releasever/$basearch/
{% else %}
baseurl={{ package_mirror }}/updates/$releasever/Everything/$basearch/
{% endif %}
enabled=1
repo_gpgcheck=0
type=rpm
@ -14,7 +18,11 @@ skip_if_unavailable=False
[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
failovermethod=priority
{% if ansible_distribution_version | version_compare('28', '<') %}
baseurl={{ package_mirror }}/updates/$releasever/$basearch/debug/
{% else %}
baseurl={{ package_mirror }}/updates/$releasever/Everything/$basearch/debug/tree/
{% endif %}
enabled=0
repo_gpgcheck=0
type=rpm
@ -26,7 +34,11 @@ skip_if_unavailable=False
[updates-source]
name=Fedora $releasever - Updates Source
failovermethod=priority
{% if ansible_distribution_version | version_compare('28', '<') %}
baseurl={{ package_mirror }}/updates/$releasever/SRPMS/
{% else %}
baseurl={{ package_mirror }}/updates/$releasever/Everything/source/tree/
{% endif %}
enabled=0
repo_gpgcheck=0
type=rpm