From 026d2feefd367aa9709b56e3f24c50c8420dc4de Mon Sep 17 00:00:00 2001 From: yatinkarel Date: Fri, 11 Dec 2020 13:52:06 +0530 Subject: [PATCH] Rely on ID/VERSION_ID to detect distro REDHAT_SUPPORT_PRODUCT* are removed from recent CentOS8.3 release[1], Let's use ID/VERSION_ID instead which are available[2] and would serve our purpose. [1] https://git.centos.org/rpms/centos-linux-release/c/2e3df0 [2] https://www.freedesktop.org/software/systemd/man/os-release.html Change-Id: Ic10b461dde012e01de87eaf03745f17fbaf704e8 --- run_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_tests.sh b/run_tests.sh index 015846926..b6c3623af 100755 --- a/run_tests.sh +++ b/run_tests.sh @@ -21,7 +21,7 @@ BRANCH=master # Find OS version and release source /etc/os-release -OS_NAME_VERS=${REDHAT_SUPPORT_PRODUCT}${REDHAT_SUPPORT_PRODUCT_VERSION} +OS_NAME_VERS=${ID}${VERSION_ID} # We could want to override the default repositories or install behavior INSTALL_FROM_SOURCE=${INSTALL_FROM_SOURCE:-true}