From 50e6c26f93f39d45600bf6e9b5f5c46d00abd363 Mon Sep 17 00:00:00 2001 From: Ansis Atteka Date: Sat, 13 Feb 2016 13:37:35 -0800 Subject: [PATCH] fedora: include ovs-save file in the rpm package Otherwise, "ovs-ctl force-reload-kmod ..." command fails with: Detected internal interfaces: br-int p1 [ OK ] Saving flows /usr/share/openvswitch/scripts/ovs-ctl: line 267: /usr/share/openvswitch/scripts/ovs-save: No such file or directory [FAILED] Exiting ovsdb-server (3228) [ OK ] Starting ovsdb-server [ OK ] Configuring Open vSwitch system IDs [ OK ] Exiting ovs-vswitchd (3243) [ OK ] Saving interface configuration /usr/share/openvswitch/scripts/ovs-ctl: line 294: /usr/share/openvswitch/scripts/ovs-save: No such file or directory [FAILED] Failed to save configuration, not replacing kernel module ... (warning). Starting ovs-vswitchd [ OK ] Enabling remote OVSDB managers [ OK ] Signed-off-by: Ansis Atteka Reported-by: Sanal Pillai Acked-by: Ben Pfaff --- rhel/openvswitch-fedora.spec.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in index c95f0bbb9..065d38434 100644 --- a/rhel/openvswitch-fedora.spec.in +++ b/rhel/openvswitch-fedora.spec.in @@ -194,8 +194,7 @@ rm -f $RPM_BUILD_ROOT%{_bindir}/ovs-parse-backtrace \ $RPM_BUILD_ROOT%{_sbindir}/ovs-vlan-bug-workaround \ $RPM_BUILD_ROOT%{_mandir}/man1/ovs-pcap.1 \ $RPM_BUILD_ROOT%{_mandir}/man1/ovs-tcpundump.1 \ - $RPM_BUILD_ROOT%{_mandir}/man8/ovs-vlan-bug-workaround.8 \ - $RPM_BUILD_ROOT%{_datadir}/openvswitch/scripts/ovs-save + $RPM_BUILD_ROOT%{_mandir}/man8/ovs-vlan-bug-workaround.8 %check %if %{with check} @@ -335,6 +334,7 @@ fi %{_datadir}/openvswitch/scripts/ovs-bugtool-* %{_datadir}/openvswitch/scripts/ovs-check-dead-ifs %{_datadir}/openvswitch/scripts/ovs-lib +%{_datadir}/openvswitch/scripts/ovs-save %{_datadir}/openvswitch/scripts/ovs-vtep %{_datadir}/openvswitch/scripts/ovs-ctl %config %{_datadir}/openvswitch/vswitch.ovsschema -- 2.20.1