]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian/rules: fix ceph-mgr .pyc files left behind 23615/head
authorDan Mick <dan.mick@redhat.com>
Thu, 16 Aug 2018 01:32:22 +0000 (18:32 -0700)
committerDan Mick <dan.mick@redhat.com>
Thu, 16 Aug 2018 21:29:15 +0000 (14:29 -0700)
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>
debian/rules

index 44490c8fbddd5bbade735307386a38322c4bbebb..1e9fdd69ab8c86593107d39cb88b2d8bf9b23f26 100755 (executable)
@@ -143,6 +143,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 \