]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Fixes default rootwrap_config
authorThomas Goirand <thomas@goirand.fr>
Wed, 25 Sep 2013 16:07:40 +0000 (00:07 +0800)
committerThomas Goirand <thomas@goirand.fr>
Wed, 25 Sep 2013 16:07:40 +0000 (00:07 +0800)
Rewritten-From: 6c3fa03d181681de46b56b78780c992af7ac21f2

xenial/debian/rules

index ea4530192f0b1838c3cdb17d96439feb10bfbbf3..c4b5756dc0d07bff629788f027229b9a65413e10 100755 (executable)
@@ -22,6 +22,7 @@ override_dh_install:
        install -D -m 0440 debian/cinder-common.sudoers $(CURDIR)/debian/cinder-common/etc/sudoers.d/cinder-common
        install -D -m 0644 $(CURDIR)/etc/cinder/cinder.conf.sample $(CURDIR)/debian/cinder-common/usr/share/cinder-common/cinder.conf
        install -D -m 0644 $(CURDIR)/etc/cinder/logging_sample.conf $(CURDIR)/debian/cinder-common/usr/share/cinder-common/logging.conf
+       sed -i 's|#rootwrap_config=<None>|rootwrap_config=/etc/cinder/rootwrap.conf|' $(CURDIR)/debian/cinder-common/etc/sudoers.d/cinder-common
 
 override_dh_fixperms:
        dh_fixperms -Xcinder_tgt.conf