]>
Commit | Line | Data |
---|---|---|
064af421 BP |
1 | Open vSwitch for Debian |
2 | ---------------------- | |
3 | ||
4 | * How do I build this module the Debian way? | |
5 | ||
6 | - Building with module-assistant: | |
7 | ||
cbb86342 | 8 | $ module-assistant auto-install openvswitch-datapath |
064af421 | 9 | or |
cbb86342 | 10 | $ m-a a-i openvswitch-datapath |
064af421 BP |
11 | |
12 | If kernel source or headers are in a non-standard directory, add | |
13 | the option -k /path/to/kernel/source with the correct path. | |
14 | ||
15 | - Building with make-kpkg | |
16 | ||
17 | $ cd /usr/src/ | |
18 | $ tar jxvf openvswitch.tar.bz2 | |
e5b2afdb | 19 | $ cd /usr/src/kernel-source-2.6.26 |
064af421 BP |
20 | $ make-kpkg --added-modules=openvswitch modules |
21 | ||
22 | - Building without make-kpkg | |
23 | ||
24 | $ cd /usr/src/ | |
25 | $ tar jxvf openvswitch.tar.bz2 | |
26 | $ cd modules/openvswitch | |
27 | $ fakeroot debian/rules kdist_image | |
28 | ||
29 | If you run this as root, fakeroot is not needed. | |
30 | ||
e5b2afdb | 31 | -- Ben Pfaff <blp@nicira.com>, Wed, 22 Jun 2011 09:51:28 -0700 |