]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
container: include python3-ceph-smb-ctl in ceph image
authorJohn Mulligan <jmulligan@redhat.com>
Fri, 8 May 2026 18:01:36 +0000 (14:01 -0400)
committerJohn Mulligan <jmulligan@redhat.com>
Thu, 4 Jun 2026 13:57:09 +0000 (09:57 -0400)
The python3-ceph-smb-ctl package provides the ceph-smb-ctl CLI tool (and
requires needed deps) and is a weak dependency of python3-ceph-common.
However, since the container disables weak dependencies by default we
need to explicitly list it if we want it in the container image. Which
we do.

Signed-off-by: John Mulligan <jmulligan@redhat.com>
container/Containerfile

index 07d68e6b5dfb2b97cd22d4e90c517c7e7ddf77a0..6ecc3ef6c9649aa531034f6c73f30346b0079e40 100644 (file)
@@ -180,6 +180,9 @@ RUN set -euo pipefail; \
     source /etc/ceph-distro.env; \
     if [ "$MAJOR" -le 9 ]; then \
         echo "python3-saml" >> packages.txt; \
+    fi ; \
+    if [ "$MAJOR" -ge 10 ]; then \
+        echo "python3-ceph-smb-ctl" >> packages.txt; \
     fi
 
 # NFS-Ganesha