Thomas, Thanks for fixing this. Acked-by: Andy Zhou <az...@nicira.com>
On Fri, Jan 9, 2015 at 7:25 AM, Thomas Graf <tg...@noironetworks.com> wrote: > Installs the kernel-devel package of the currently running kernel and > builds the kmod RPM in the "install_rpm" phase. > > Signed-off-by: Thomas Graf <tg...@noironetworks.com> > --- > Vagrantfile | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Vagrantfile b/Vagrantfile > index 82b157c..1cacd3b 100644 > --- a/Vagrantfile > +++ b/Vagrantfile > @@ -8,7 +8,8 @@ $bootstrap_fedora = <<SCRIPT > yum -y update > yum -y install autoconf automake openssl-devel libtool \ > python-twisted-core python-zope-interface PyQt4 \ > - desktop-file-utils groff graphviz rpmdevtools > + desktop-file-utils groff graphviz rpmdevtools \ > + kernel-devel-`uname -r` > echo "search extra update built-in" >/etc/depmod.d/search_path.conf > cd /vagrant > ./boot.sh > @@ -31,6 +32,7 @@ PACKAGE_VERSION=`autom4te -l Autoconf -t 'AC_INIT:$2' > /vagrant/configure.ac` > make && make dist > rpmdev-setuptree > cp openvswitch-$PACKAGE_VERSION.tar.gz $HOME/rpmbuild/SOURCES > +rpmbuild --bb -D "kversion `uname -r`" > /vagrant/rhel/openvswitch-kmod-fedora.spec > rpmbuild --bb --without check /vagrant/rhel/openvswitch-fedora.spec > sudo rpm -e openvswitch > sudo rpm -ivh > $HOME/rpmbuild/RPMS/x86_64/openvswitch-$PACKAGE_VERSION-1.fc20.x86_64.rpm > -- > 1.9.3 > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev