]> git-server-git.apps.pok.os.sepia.ceph.com Git - teuthology.git/commitdiff
bootstrap: add -q for rpm --whatprovides
authorKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Thu, 14 Aug 2025 18:52:20 +0000 (20:52 +0200)
committerKyr Shatskyy <kyrylo.shatskyy@clyso.com>
Thu, 14 Aug 2025 18:52:20 +0000 (20:52 +0200)
The rpm -q option lost during refactoring which is obviously
needed when requesting the package name.

Fixes: c290c6851a7c10aaa4a5e18e1c14d750c338e339
Signed-off-by: Kyr Shatskyy <kyrylo.shatskyy@clyso.com>
bootstrap

index a4ae99c8c505867e091d07edd200fbc75d2afdbb..54b09207bf717a3ed168ad8de114d1d119e425e2 100755 (executable)
--- a/bootstrap
+++ b/bootstrap
@@ -37,7 +37,7 @@ Linux)
         OS=$(echo $NAME | tr -d ' ')
     fi
     # rpm/dnf is the default, to reduce repetition in the case statement
-    has_pkg="rpm --whatprovides"
+    has_pkg="rpm -q --whatprovides"
     install_pkg="sudo dnf install -y"
     case "$OS" in
     Ubuntu|Debian|LinuxMint)