]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commitdiff
Now generates cinder.conf on the fly.
authorThomas Goirand <thomas@goirand.fr>
Tue, 23 Dec 2014 08:35:35 +0000 (16:35 +0800)
committerThomas Goirand <thomas@goirand.fr>
Tue, 23 Dec 2014 08:35:35 +0000 (16:35 +0800)
Rewritten-From: 1f0e74b243f0f25e8ca2463b889199b2e99abe12

xenial/debian/changelog
xenial/debian/rules

index 409fa5b3c5d0a2761e857919463a2ae91ba72cfc..2201bbe85701a0aaf4b592e2ff979f1365f515dc 100644 (file)
@@ -2,6 +2,7 @@ cinder (2015.1~b1-1) UNRELEASED; urgency=medium
 
   * New upstream release.
   * Updated (build-)depends for this release.
+  * Now generates cinder.conf on the fly.
 
  -- Thomas Goirand <zigo@debian.org>  Tue, 23 Dec 2014 15:21:52 +0800
 
index 6ab1e5c4758204488ab50314befccf5e4c8b9248..6dbebf0bd629d6272890eec240eee29771f65085 100755 (executable)
@@ -18,6 +18,8 @@ override_dh_clean:
        rm -rf debian/*.upstart debian/*.service
 
 override_dh_install:
+       tools/config/generate_sample.sh -b . -p cinder -o etc/cinder
+
        dh_install --fail-missing -Xbin/cinder-all
        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