-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug #1012418 - quantum agent for OVS does not install properly on Xen…
… XCP This change added the feature to package and install the ovs-quantum-agent inside XS and XCP, added an option on Makefile to gen and install using python2.6 ( by default it will use 2.4 ) Change-Id: I8860d7dcb7e7b74125784cb0f33c6ca03b37702b
- Loading branch information
Showing
3 changed files
with
87 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
33 changes: 33 additions & 0 deletions
33
quantum/plugins/openvswitch/agent/ovs-quantum-agent-xs_xcp.spec
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
Name: ovs-quantum-agent | ||
Version: VERSION | ||
Release: 1 | ||
License: Apache2 | ||
Group: System Environment/Base | ||
Summary: Ovs Quantum Agent | ||
Source: %{name}-%{version}.tgz | ||
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root | ||
BuildArch: noarch | ||
Requires: python python-sqlalchemy | ||
|
||
%description | ||
OVS Quantum Agent | ||
|
||
%prep | ||
%setup | ||
|
||
%install | ||
rm -rf --preserve-root %{buildroot} | ||
install -d -m 755 %{buildroot} | ||
cp -af * %{buildroot} | ||
pushd %{buildroot} | ||
find ./usr ./etc -type f -o -type l | sed "s/\.//" > %{_builddir}/%{name}-%{version}/%{name}-%{version}-%{release}-filelist | ||
popd | ||
|
||
%clean | ||
[ %{buildroot} != / ] && rm -rf %{buildroot} | ||
|
||
%files -f %{_builddir}/%{name}-%{version}/%{name}-%{version}-%{release}-filelist | ||
|
||
%changelog | ||
* Thu Jun 14 2012 Juliano Martinez <juliano.martinez@locaweb.com.br> - VERSION | ||
- Creating quantum ovs agent package |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters