]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits/rados: enable crb and install generic package for c9 59330/head
authorLaura Flores <lflores@ibm.com>
Mon, 19 Aug 2024 20:00:24 +0000 (20:00 +0000)
committerLaura Flores <lflores@ibm.com>
Mon, 19 Aug 2024 20:18:53 +0000 (20:18 +0000)
This workunit was still trying to enable
"codeready-builder-for-rhel-8-x86_64-rpms", which is a repo specific
to centos 8 stream. After changing the repo name, I found that there
is no libarchive-3.3.3 package available for centos 9 stream, so I
changed it to the generic version.

Fixes: https://tracker.ceph.com/issues/67562
Signed-off-by: Laura Flores <lflores@ibm.com>
qa/workunits/rados/test_envlibrados_for_rocksdb.sh

index 371452f404292b1c05f779613c0e44c4f87371b2..af68addbae5784631e24e899e0e18ce1ddf5d8b6 100755 (executable)
@@ -26,10 +26,10 @@ case $(distro_id) in
         case $(distro_id) in
             rhel)
                 # RHEL needs CRB repo for snappy-devel
-                sudo subscription-manager repos --enable "codeready-builder-for-rhel-8-x86_64-rpms"
+                sudo dnf config-manager --set-enabled crb
                 ;;
         esac
-        install git gcc-c++.x86_64 snappy-devel zlib zlib-devel bzip2 bzip2-devel libradospp-devel.x86_64 cmake libarchive-3.3.3
+        install git gcc-c++.x86_64 snappy-devel zlib zlib-devel bzip2 bzip2-devel libradospp-devel.x86_64 cmake libarchive
         ;;
        opensuse*|suse|sles)
                install git gcc-c++ snappy-devel zlib-devel libbz2-devel libradospp-devel