summaryrefslogtreecommitdiff
path: root/rhel
diff options
context:
space:
mode:
authorAnsis Atteka <ansisatteka@gmail.com>2016-02-13 13:37:35 -0800
committerAnsis Atteka <ansisatteka@gmail.com>2016-02-26 16:22:41 -0800
commit50e6c26f93f39d45600bf6e9b5f5c46d00abd363 (patch)
treef6e67b5251a205729a2a2ecf85048d36f2ce8636 /rhel
parent38dc2ca13a8412076773c53676ee49db1e427ff2 (diff)
downloadopenvswitch-50e6c26f93f39d45600bf6e9b5f5c46d00abd363.tar.gz
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 <ansisatteka@gmail.com> Reported-by: Sanal Pillai <sanalp@vmware.com> Acked-by: Ben Pfaff <blp@ovn.org>
Diffstat (limited to 'rhel')
-rw-r--r--rhel/openvswitch-fedora.spec.in4
1 files 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