Merge "Install fedora-gpg-keys for F27"

This commit is contained in:
Zuul 2017-11-30 07:54:38 +00:00 committed by Gerrit Code Review
commit 8182acb0fc

View File

@ -72,10 +72,15 @@ function _install_repos {
packages="basesystem filesystem setup " packages="basesystem filesystem setup "
packages+="${DISTRO_NAME}-release " packages+="${DISTRO_NAME}-release "
# after fedora21, this is split into into a separate -repos
# package # Starting in F21 this was split into a separate package
if [ $DISTRO_NAME = fedora ]; then if [[ ${DISTRO_NAME} == 'fedora' ]]; then
packages+="${DISTRO_NAME}-repos " packages+="fedora-repos "
fi
# F27 started putting gpg keys into this separate package
if [[ ${DISTRO_NAME} = fedora && ${DIB_RELEASE} -gt 26 ]]; then
packages+="fedora-gpg-keys "
fi fi
# By default, parent elements (fedora-minimal, centos-minimal) # By default, parent elements (fedora-minimal, centos-minimal)