From: Matthew Vernon Date: Wed, 20 Sep 2023 15:37:17 +0000 (+0100) Subject: debian: call dh_python3 for ceph-{base,common,fuse,volume} X-Git-Tag: v19.0.0~426^2 X-Git-Url: http://git.apps.os.sepia.ceph.com/?a=commitdiff_plain;h=e4393e574cadb0f19feec513d7aceac4a3f60021;p=ceph-ci.git debian: call dh_python3 for ceph-{base,common,fuse,volume} 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 --- diff --git a/debian/rules b/debian/rules index fd025b7c917..ed7f4a255ed 100755 --- a/debian/rules +++ b/debian/rules @@ -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: