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:
parent
19868f7d2b
commit
49711c6540
@ -2,7 +2,11 @@
|
|||||||
[updates]
|
[updates]
|
||||||
name=Fedora $releasever - $basearch - Updates
|
name=Fedora $releasever - $basearch - Updates
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
|
{% if ansible_distribution_version | version_compare('28', '<') %}
|
||||||
baseurl={{ package_mirror }}/updates/$releasever/$basearch/
|
baseurl={{ package_mirror }}/updates/$releasever/$basearch/
|
||||||
|
{% else %}
|
||||||
|
baseurl={{ package_mirror }}/updates/$releasever/Everything/$basearch/
|
||||||
|
{% endif %}
|
||||||
enabled=1
|
enabled=1
|
||||||
repo_gpgcheck=0
|
repo_gpgcheck=0
|
||||||
type=rpm
|
type=rpm
|
||||||
@ -14,7 +18,11 @@ skip_if_unavailable=False
|
|||||||
[updates-debuginfo]
|
[updates-debuginfo]
|
||||||
name=Fedora $releasever - $basearch - Updates - Debug
|
name=Fedora $releasever - $basearch - Updates - Debug
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
|
{% if ansible_distribution_version | version_compare('28', '<') %}
|
||||||
baseurl={{ package_mirror }}/updates/$releasever/$basearch/debug/
|
baseurl={{ package_mirror }}/updates/$releasever/$basearch/debug/
|
||||||
|
{% else %}
|
||||||
|
baseurl={{ package_mirror }}/updates/$releasever/Everything/$basearch/debug/tree/
|
||||||
|
{% endif %}
|
||||||
enabled=0
|
enabled=0
|
||||||
repo_gpgcheck=0
|
repo_gpgcheck=0
|
||||||
type=rpm
|
type=rpm
|
||||||
@ -26,7 +34,11 @@ skip_if_unavailable=False
|
|||||||
[updates-source]
|
[updates-source]
|
||||||
name=Fedora $releasever - Updates Source
|
name=Fedora $releasever - Updates Source
|
||||||
failovermethod=priority
|
failovermethod=priority
|
||||||
|
{% if ansible_distribution_version | version_compare('28', '<') %}
|
||||||
baseurl={{ package_mirror }}/updates/$releasever/SRPMS/
|
baseurl={{ package_mirror }}/updates/$releasever/SRPMS/
|
||||||
|
{% else %}
|
||||||
|
baseurl={{ package_mirror }}/updates/$releasever/Everything/source/tree/
|
||||||
|
{% endif %}
|
||||||
enabled=0
|
enabled=0
|
||||||
repo_gpgcheck=0
|
repo_gpgcheck=0
|
||||||
type=rpm
|
type=rpm
|
||||||
|
Loading…
Reference in New Issue
Block a user