From bb6a4769ac02cb78f5327b69ee2f7ff542bef56f Mon Sep 17 00:00:00 2001 From: "Chandan Kumar (raukadah)" Date: Mon, 24 Jan 2022 09:15:07 +0530 Subject: [PATCH] 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) Change-Id: I8ebb405a1921282f49952e7cfdd19558ef7f1b1d --- dib/extra-hardware/pre-install.d/10-enable-rdo-deps | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 dib/extra-hardware/pre-install.d/10-enable-rdo-deps diff --git a/dib/extra-hardware/pre-install.d/10-enable-rdo-deps b/dib/extra-hardware/pre-install.d/10-enable-rdo-deps new file mode 100755 index 0000000..2bb9168 --- /dev/null +++ b/dib/extra-hardware/pre-install.d/10-enable-rdo-deps @@ -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