]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
debian/rules: fix ceph-mgr .pyc files left behind 23832/head
authorDan Mick <dan.mick@redhat.com>
Thu, 16 Aug 2018 01:32:22 +0000 (18:32 -0700)
committerPrashant D <pdhange@redhat.com>
Thu, 30 Aug 2018 23:08:01 +0000 (19:08 -0400)
Add second dh_python2 call with the "private" dir /usr/lib/ceph/mgr

Fixes: http://tracker.ceph.com/issues/26883
Signed-off-by: Dan Mick <dan.mick@redhat.com>
(cherry picked from commit b221877462c021ebaf4ab03e37aefb938d86875d)

debian/rules

index 99a3e8e9824c1100ad2e28a04aa42ad6c328f745..b5ce42c6f3d403b4286e2beec51f096fafbe825d 100755 (executable)
@@ -183,6 +183,8 @@ override_dh_python2:
        dh_python2 -p ceph-base
        dh_python2 -p ceph-osd
        dh_python2 -p ceph-mgr
+       # batch-compile, and set up for delete, all the module files
+       dh_python2 -p ceph-mgr usr/lib/ceph/mgr
 
 override_dh_python3:
        for binding in rados cephfs rbd rgw; do \