| |
@@ -27,7 +27,7 @@
|
| |
|
| |
Name: centos-release
|
| |
Version: %{upstream_rel}
|
| |
- Release: %{centos_rel}.0.7%{?dist}
|
| |
+ Release: %{centos_rel}.0.8%{?dist}
|
| |
Summary: %{product_family} release file
|
| |
Group: System Environment/Base
|
| |
License: GPLv2
|
| |
@@ -44,6 +44,7 @@
|
| |
Provides: redhat-release = %{upstream_rel_long}
|
| |
Provides: system-release = %{upstream_rel_long}
|
| |
Provides: system-release(releasever) = %{base_release_version}
|
| |
+ Provides: base-module(platform:el%{base_release_version})
|
| |
|
| |
Provides: centos-release-eula
|
| |
Provides: redhat-release-eula
|
| |
@@ -130,7 +131,7 @@
|
| |
ID="centos"
|
| |
ID_LIKE="rhel fedora"
|
| |
VERSION_ID="%{full_release_version}"
|
| |
- PLATFORM_ID="platform:el%{full_release_version}"
|
| |
+ PLATFORM_ID="platform:el%{base_release_version}"
|
| |
PRETTY_NAME="%{product_family} %{full_release_version} (%{release_name})"
|
| |
ANSI_COLOR="0;31"
|
| |
CPE_NAME="cpe:/o:centos:centos:%{base_release_version}%{?tuned_profile}"
|
| |
@@ -248,6 +249,10 @@
|
| |
/etc/pki/rpm-gpg/
|
| |
|
| |
%changelog
|
| |
+ * Thu Jan 02 2020 Neal Gompa <ngompa@centosproject.org> - 8-1.0.8
|
| |
+ - Add base module platform Provides so DNF can auto-discover modular platform
|
| |
+ - Fix the PLATFORM_ID definition in os-release(5) to use base_release_version macro
|
| |
+
|
| |
* Thu Dec 19 2019 bstinson@centosproject.org - 8-1.0.7
|
| |
- Typo fixes
|
| |
- Disable the HA repo by default
|
| |
In cases where CentOS 8 chroots are being made from scratch and modular
content will be used as part of the initial install, DNF fails to resolve
modular dependencies because it cannot discover the modular platform.
DNF does modular platform discovery in two ways:
PLATFORM_ID
fromos-release(5)
system-release
forbase-module()
ProvidesThe former method works on an existing CentOS 8 environment, but when
trying to produce a brand new one without an existing reference or
manual setting of the value, DNF relies on the latter method.
This declaration did not exist, which caused tools like
appliance-creator
,livecd-creator
,kiwi
, and others to fail to be able to resolve modular dependencies,essentially blocking the usage of modules with these tools.
In addition, trivially fix the
PLATFORM_ID
definition inos-release(5)
to be set using
%base_release_version
like thebase-module()
Provides does.Reference: https://bugs.centos.org/view.php?id=16877#c35920
Signed-off-by: Neal Gompa ngompa@centosproject.org