From 8520deefbf208b24518c2bf67baad6d230f39dc0 Mon Sep 17 00:00:00 2001 From: "bschanmu@redhat.com" Date: Mon, 7 Mar 2016 10:33:34 +0530 Subject: Use 'RUNDIR' from make for rhel/ovn-controller.service Perviously it was using the platform's runtime directory which can be different from the runtime directory of ovsdb-server started by the openvswitch service Signed-off-by: Babu Shanmugam Acked-by: Flavio Leitner Signed-off-by: Russell Bryant --- rhel/automake.mk | 3 +++ 1 file changed, 3 insertions(+) (limited to 'rhel/automake.mk') diff --git a/rhel/automake.mk b/rhel/automake.mk index dc30715b9..dc53986ce 100644 --- a/rhel/automake.mk +++ b/rhel/automake.mk @@ -28,6 +28,7 @@ EXTRA_DIST += \ rhel/usr_lib_systemd_system_openvswitch.service \ rhel/usr_lib_systemd_system_openvswitch-nonetwork.service \ rhel/usr_lib_systemd_system_ovn-controller.service \ + rhel/usr_lib_systemd_system_ovn-controller.service.in \ rhel/usr_lib_systemd_system_ovn-controller-vtep.service \ rhel/usr_lib_systemd_system_ovn-northd.service @@ -51,6 +52,8 @@ $(srcdir)/rhel/openvswitch.spec: rhel/openvswitch.spec.in $(top_builddir)/config $(srcdir)/rhel/openvswitch-fedora.spec: rhel/openvswitch-fedora.spec.in $(top_builddir)/config.status $(update_rhel_spec) +$(srcdir)/rhel/usr_lib_systemd_system_ovn-controller.service: rhel/usr_lib_systemd_system_ovn-controller.service.in $(top_builddir)/config.status + RPMBUILD_TOP := $(abs_top_builddir)/rpm/rpmbuild # Build user-space RPMs -- cgit v1.2.1