[ovs-dev] [PATCH] vagrant: Add Debian Jessie support

Joe Stringer joe at ovn.org
Sat Sep 10 01:44:21 UTC 2016


On 9 September 2016 at 14:09, Thadeu Lima de Souza Cascardo
<cascardo at redhat.com> wrote:
> Now, vagrant up will test both Fedora 23 and Debian Jessie (8.0), which uses
> Linux 3.16.
>
> Signed-off-by: Thadeu Lima de Souza Cascardo <cascardo at redhat.com>
> ---
>  Vagrantfile | 44 ++++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 42 insertions(+), 2 deletions(-)
>
> diff --git a/Vagrantfile b/Vagrantfile
> index 843d88c..1a97d13 100644
> --- a/Vagrantfile
> +++ b/Vagrantfile
> @@ -13,11 +13,25 @@ dnf -y install autoconf automake openssl-devel libtool \
>                 wget python-six pyftpdlib checkpolicy selinux-policy-devel \
>                 libcap-ng-devel kernel-devel-`uname -r` ethtool
>  echo "search extra update built-in" >/etc/depmod.d/search_path.conf
> -cd /vagrant
> -./boot.sh
> +SCRIPT
> +
> +$bootstrap_debian = <<SCRIPT
> +aptitude -y update
> +aptitude -y upgrade
> +aptitude -y install -R \
> +               build-essential dpkg-dev lintian devscripts fakeroot \
> +               debhelper dh-autoreconf \
> +               autoconf automake libtool \
> +               python-all python-twisted-core python-twisted-conch \
> +               xdg-utils groff graphviz netcat \
> +               wget python-six ethtool \
> +               libcap-ng-dev libssl-dev python-dev openssl \
> +               linux-headers-`uname -r`

I think we also need "pkg-config python-flake8".

When I tried this out, the "test_ovs_system_userspace" provision
target failed completely, partly because the 'tun' module apparently
needs to be loaded and that's missing from our initialization in this
make target... but when I tried to load this module I see errors like
this in my kernel logs:

[  925.888049] tun: Unknown symbol __sk_attach_filter (err 0)
[  925.888126] tun: Unknown symbol __sk_detach_filter (err 0)

Do you also see this?



More information about the dev mailing list