Add support for RHEL8 repository creation

This commit is contained in:
Timofey Turenko 2019-04-09 13:57:25 +03:00
parent 5cdea12ea6
commit 0ce5f87a91

View File

@ -8,7 +8,7 @@ if [ "$box_type" == "RPM" ] ; then
# Build can be executed to check if it is possible to build
# and to run install and upgrade tests
# with thre real RHEL, but we use CentOS packages for production
if [ "$platform" != "rhel" ] ; then
if [[ "$platform" != "rhel" || ( "$platform" == "rhel" && "$platform_version" == "8" ) ]]; then
export arch=`ssh $sshopt "arch"`
. ${script_dir}/generate_build_info_path.sh