]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
qa/workunits: add Rocky Linux support to librados tests 66232/head
authorNitzan Mordechai <nmordech@redhat.com>
Thu, 13 Nov 2025 14:03:58 +0000 (14:03 +0000)
committerNitzan Mordechai <nmordech@redhat.com>
Thu, 13 Nov 2025 14:04:53 +0000 (14:04 +0000)
Add Rocky Linux to the list of supported RPM-based distributions in
test_librados_build.sh and version_number_sanity.sh. Rocky Linux uses
the same package names and commands as CentOS/RHEL, so it can use the
existing RPM codepath.

Without this change, the tests fail on Rocky Linux systems with
"unknown distro" errors.

Fixes: https://tracker.ceph.com/issues/73839
Signed-off-by: Nitzan Mordechai <nmordec@ibm.com>
qa/workunits/rados/test_librados_build.sh
qa/workunits/rados/version_number_sanity.sh

index 14e33251568a8e09f03925ae89318bca246d6688..d516d0ba588b47efa781a4d2da25b6a3a0e816fb 100755 (executable)
@@ -69,7 +69,7 @@ function run_binaries () {
 
 pushd $DESTDIR
 case $(distro_id) in
-    centos|fedora|rhel|opensuse*|suse|sles)
+    centos|fedora|rhel|rocky|opensuse*|suse|sles)
         install gcc-c++ make libradospp-devel librados-devel;;
     ubuntu)
         install gcc-11 g++-11 make libradospp-dev librados-dev
index e7eb9be649c58a0e3c8971a30f94c10d25cf88df..cbe625e869f47fdb254c00d65a9e29d888c31276 100755 (executable)
@@ -10,7 +10,7 @@ debian|ubuntu)
     dpkg-query --show ceph-common
     PKG_NAME_AND_VERSION=$(dpkg-query --show ceph-common)
     ;;
-centos|fedora|rhel|opensuse*|suse|sles)
+centos|fedora|rhel|rocky|opensuse*|suse|sles)
     RPMDEB='RPM'
     rpm -q ceph
     PKG_NAME_AND_VERSION=$(rpm -q ceph)