]> git.apps.os.sepia.ceph.com Git - ceph-ci.git/commitdiff
debian: call dh_python3 for ceph-{base,common,fuse,volume}
authorMatthew Vernon <mvernon@wikimedia.org>
Wed, 20 Sep 2023 15:37:17 +0000 (16:37 +0100)
committerMatthew Vernon <mvernon@wikimedia.org>
Fri, 22 Sep 2023 16:32:04 +0000 (17:32 +0100)
In the cases of ceph-base, ceph-common, and ceph-fuse, this picks up
that these packages contain python scripts and adds a necessary
python3 dependency. In the case of ceph-volume it additionally parses
the requirements.txt file.

Signed-off-by: Matthew Vernon <mvernon@wikimedia.org>
debian/rules

index fd025b7c917896527f0e7630feedeca3cdd247c0..ed7f4a255ed4b798d710714ee368ef973c42abb6 100755 (executable)
@@ -140,6 +140,10 @@ override_dh_python3:
        @for pkg in $(py3_packages); do \
          dh_python3 -p $$pkg;          \
        done
+       dh_python3 -p ceph-base --shebang=/usr/bin/python3
+       dh_python3 -p ceph-common --shebang=/usr/bin/python3
+       dh_python3 -p ceph-fuse --shebang=/usr/bin/python3
+       dh_python3 -p ceph-volume --shebang=/usr/bin/python3
 
 # do not run tests
 override_dh_auto_test: