Set lock_path correctly.
authorThomas Goirand <zigo@debian.org>
Mon, 1 Feb 2016 08:52:37 +0000 (16:52 +0800)
committerThomas Goirand <zigo@debian.org>
Mon, 1 Feb 2016 08:52:37 +0000 (16:52 +0800)
debian/control
debian/rules

index 5da44a829a850ae8bc759dc3d4a5aa200d43713d..f681e291b56c6046a24b0c9527c788caa25db990 100644 (file)
@@ -7,7 +7,7 @@ Uploaders: Thomas Goirand <zigo@debian.org>,
 Build-Depends: debhelper (>= 9),
                dh-python,
                dh-systemd,
-               openstack-pkg-tools (>= 23~),
+               openstack-pkg-tools (>= 38~),
                po-debconf,
                python-all,
                python-pbr (>= 1.8),
index 14b8cdea53a0ce7ab297fb3cb9d949a14e0e7853..8a8ce1d3914ff67f86478e0b4d5126c4a441565d 100755 (executable)
@@ -118,6 +118,7 @@ override_dh_install:
        sed -i 's|^[ #\t]*rabbit_userid[ \t]*=.*|rabbit_userid = guest|' $(CURDIR)/debian/neutron-common/usr/share/neutron-common/neutron.conf
        sed -i 's|^[ #\t]*rabbit_password[ \t]*=.*|rabbit_password = guest|' $(CURDIR)/debian/neutron-common/usr/share/neutron-common/neutron.conf
        sed -i 's/^[ \t#]*auth_protocol[ \t]*=[ \t].*/auth_protocol = http/' $(CURDIR)/debian/neutron-common/usr/share/neutron-common/neutron.conf
+       pkgos-fix-config-default $(CURDIR)/debian/neutron-common/usr/share/neutron-common/neutron.conf oslo_concurrency lock_path /var/lock/neutron
 
        # openvswitch_agent.ini
        mkdir -p $(CURDIR)/debian/neutron-common/usr/share/neutron-common