]>
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 | ||
8 | $ module-assistant auto-install openvswitch | |
9 | or | |
10 | $ m-a a-i openvswitch | |
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 | |
19 | $ cd /usr/src/kernel-source-2.6.9 | |
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 | ||
31 | -- Ben Pfaff <blp@nicira.com>, Mon, 11 May 2009 13:27:50 -0700 |