summaryrefslogtreecommitdiffstats
path: root/qa
diff options
context:
space:
mode:
authorKen Dreyer <kdreyer@redhat.com>2021-08-12 16:44:48 +0200
committerKen Dreyer <kdreyer@redhat.com>2021-08-18 19:08:24 +0200
commit65f4d6eb3664a4cc6120031679b8368cbc02a4a5 (patch)
tree295bdbf81466e27e73476656979d19200bbc7f14 /qa
parentworkunits/rgw: remove lsb_release (diff)
downloadceph-65f4d6eb3664a4cc6120031679b8368cbc02a4a5.tar.xz
ceph-65f4d6eb3664a4cc6120031679b8368cbc02a4a5.zip
workunits/rbd: remove lsb_release
The lsb_release utility brings in a lot of other dependencies. Remove it from the RBD workunit script. Signed-off-by: Ken Dreyer <kdreyer@redhat.com>
Diffstat (limited to 'qa')
-rwxr-xr-xqa/workunits/rbd/qemu-iotests.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/qa/workunits/rbd/qemu-iotests.sh b/qa/workunits/rbd/qemu-iotests.sh
index ca1617908ad..267b69165e5 100755
--- a/qa/workunits/rbd/qemu-iotests.sh
+++ b/qa/workunits/rbd/qemu-iotests.sh
@@ -9,10 +9,12 @@ testlist='001 002 003 004 005 008 009 010 011 021 025 032 033'
git clone https://github.com/qemu/qemu.git
cd qemu
-if lsb_release -da 2>&1 | grep -iqE '(bionic|focal)'; then
+
+
+if grep -iqE '(bionic|focal)' /etc/os-release; then
# Bionic requires a matching test harness
git checkout v2.11.0
-elif lsb_release -da 2>&1 | grep -iqE '(xenial|linux release 8|stream release 8)'; then
+elif grep -iqE '(xenial|platform:el8)' /etc/os-release; then
# Xenial requires a recent test harness
git checkout v2.3.0
else