Hi,

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
http://openvswitch.org/releases/binaries/1.2.2.10448/natty_amd64/

I'm using Ubuntu 11.04 with a custom 3.0.0 kernel.  Building appears easy
enough with OVS 1.2.1:

cd openvswitch
dpkg-buildpackage
... 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@ubuntu:~/ovs_debs$ sudo dpkg -i
openvswitch-switch_1.2.1-1_amd64.deb
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:
 openvswitch-switch

Some questions:
(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
automatically?
(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?

Thanks (Ben),
-Brandon
_______________________________________________
discuss mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/discuss

Reply via email to