Use fedora-release-common for fedora 30+
It looks like fedora-release on fedora 30+ has been split into sub packages. Use fedora-release-common to avoid package conflicts. Change-Id: I8f8711044fc4074b91939e0a6dfdac4d7a14a35b Signed-off-by: Paul Belanger <pabelanger@redhat.com>
This commit is contained in:
parent
fa34eb7fe4
commit
5d60979e93
@ -73,7 +73,11 @@ function _install_repos {
|
|||||||
# (see above) so ...
|
# (see above) so ...
|
||||||
packages="basesystem filesystem setup "
|
packages="basesystem filesystem setup "
|
||||||
|
|
||||||
|
if [[ ${DISTRO_NAME} = fedora && ${DIB_RELEASE} -gt 29 ]]; then
|
||||||
|
packages+="${DISTRO_NAME}-release-common "
|
||||||
|
else
|
||||||
packages+="${DISTRO_NAME}-release "
|
packages+="${DISTRO_NAME}-release "
|
||||||
|
fi
|
||||||
|
|
||||||
# Starting in F21 this was split into a separate package
|
# Starting in F21 this was split into a separate package
|
||||||
if [[ ${DISTRO_NAME} == 'fedora' ]]; then
|
if [[ ${DISTRO_NAME} == 'fedora' ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user