ovn: use bundled ovs
We are using the latest OVS, however, OVN needs to build using the OVS submodule since some of the signatures don't work[1]. [1]: https://github.com/ovn-org/ovn/issues/128 Change-Id: I3ad7e5e80f1141c3d94f7ce7c8b8f8fdb9fb7c3c
This commit is contained in:
parent
d380858b2d
commit
7fa24750a6
@ -320,8 +320,24 @@ function compile_ovn {
|
||||
./boot.sh
|
||||
fi
|
||||
|
||||
# NOTE(mnaser): OVN requires that you build using the OVS from the
|
||||
# submodule.
|
||||
#
|
||||
# https://github.com/ovn-org/ovn/blob/3fb397b63663297acbcbf794e1233951222ae5af/Documentation/intro/install/general.rst#bootstrapping
|
||||
# https://github.com/ovn-org/ovn/issues/128
|
||||
git submodule update --init
|
||||
pushd ovs
|
||||
if [ ! -f configure ] ; then
|
||||
./boot.sh
|
||||
fi
|
||||
if [ ! -f config.status ] || [ configure -nt config.status ] ; then
|
||||
./configure --with-ovs-source=$DEST/$OVS_REPO_NAME $prefix $localstatedir
|
||||
./configure
|
||||
fi
|
||||
make -j$(($(nproc) + 1))
|
||||
popd
|
||||
|
||||
if [ ! -f config.status ] || [ configure -nt config.status ] ; then
|
||||
./configure $prefix $localstatedir
|
||||
fi
|
||||
make -j$(($(nproc) + 1))
|
||||
sudo make install
|
||||
|
Loading…
Reference in New Issue
Block a user