Fix double [DEFAULT] within config generation
[openstack-build/cinder-build.git] / trusty / debian / rules
index 2222f4f2b8abc7efd4d9e63d6a6058a2deb55ea7..82fe7bad01468e9262db4c5f1aba273ae0ac6e1f 100755 (executable)
@@ -20,9 +20,12 @@ endif
 
 override_dh_install:
        dh_install --fail-missing -Xbin/cinder-all
+       install -D -m 0440 debian/cinder_sudoers $(CURDIR)/debian/cinder-common/etc/sudoers.d/cinder-common
+       install -D -m 0644 $(CURDIR)/debian/logging.conf $(CURDIR)/debian/cinder-common/etc/cinder/logging.conf
 
 override_dh_fixperms:
        dh_fixperms -Xcinder_tgt.conf
+       chmod 0440 $(CURDIR)/debian/cinder-common/etc/sudoers.d/cinder-common
 
 override_dh_clean:
        # temporary workaround for d2to1 wonkyness