Added element to enable RDO deps repo to install sysbench

In CentOS Stream/RHEL 9, synbench package is removed and
it is currently available and maintained under rdo deps repo.

Since sysbench is needed in extra-hardware element for running
tests.

This patch enables the repo to install sysbench.

Signed-off-by: Chandan Kumar (raukadah) <chkumar@redhat.com>
Change-Id: I8ebb405a1921282f49952e7cfdd19558ef7f1b1d
This commit is contained in:
Chandan Kumar (raukadah) 2022-01-24 09:15:07 +05:30 committed by Steve Baker
parent a08dcb4c36
commit bb6a4769ac
1 changed files with 6 additions and 0 deletions

View File

@ -0,0 +1,6 @@
#!/bin/bash
# It enables RDO deps repo for CentOS Stream 9
if [[ "${DISTRO_NAME}${DIB_RELEASE}" =~ "centos9" ]]; then
curl -o /etc/yum.repos.d/dlrn-deps.repo https://trunk.rdoproject.org/centos9-master/dlrn-deps.repo
fi