summaryrefslogtreecommitdiff
path: root/debian/openvswitch-datapath-source.README.Debian
blob: c068bbb36ee11bf69dac244a98ddc9b7e1222666 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
Open vSwitch for Debian
----------------------

* How do I build this module the Debian way?

    - Building with module-assistant:

        $ module-assistant auto-install openvswitch-datapath
      or
        $ m-a a-i openvswitch-datapath

      If kernel source or headers are in a non-standard directory, add
      the option -k /path/to/kernel/source with the correct path.

    - Building with make-kpkg

        $ cd /usr/src/
        $ tar jxvf openvswitch.tar.bz2
        $ cd /usr/src/kernel-source-2.6.26
        $ make-kpkg --added-modules=openvswitch modules

    - Building without make-kpkg

        $ cd /usr/src/
        $ tar jxvf openvswitch.tar.bz2
        $ cd modules/openvswitch
        $ fakeroot debian/rules kdist_image

      If you run this as root, fakeroot is not needed.

 -- Ben Pfaff <blp@nicira.com>, Wed, 22 Jun 2011 09:51:28 -0700