[ovs-discuss] building OVS as Debian packages
brandonh at stanford.edu
Wed Oct 26 18:55:34 PDT 2011
I'd like to build Debian packages for OVS that work with a custom kernel. I
see that these are built already for stock Ubuntu kernels at
https://launchpad.net/ubuntu/+source/openvswitch and for Ubuntu natty at
I'm using Ubuntu 11.04 with a custom 3.0.0 kernel. Building appears easy
enough with OVS 1.2.1:
... work, and makes a bunch of packages.
However, this doesn't appear to build the kernel module - I see nothing with
'find . -name *.ko'. When I go to install, this happens:
brandonh at ubuntu:~/ovs_debs$ sudo dpkg -i
Selecting previously deselected package openvswitch-switch.
(Reading database ... 53352 files and directories currently installed.)
Unpacking openvswitch-switch (from openvswitch-switch_1.2.1-1_amd64.deb) ...
Setting up openvswitch-switch (1.2.1-1) ...
FATAL: Module openvswitch_mod not found.
* Inserting openvswitch module
invoke-rc.d: initscript openvswitch-switch, action "start" failed.
dpkg: error processing openvswitch-switch (--install):
subprocess installed post-installation script returned error exit status 1
Processing triggers for man-db ...
Processing triggers for ureadahead ...
Errors were encountered while processing:
(1) The OVS kmod builds fine the usual way on this system against the custom
kernel. Is there some way to have that build + install with a .deb package
(2) Is there any OVS-specific debian package documentation that I missed?
(3) Is there an easy way to have a single package install the others? Is
dpkg usually used for this, apt-get, or something else?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the discuss