File tree 5 files changed +11
-12
lines changed
Documentation/intro/install
5 files changed +11
-12
lines changed Original file line number Diff line number Diff line change @@ -197,17 +197,16 @@ the unit tests, run::
197
197
Kernel Module
198
198
~~~~~~~~~~~~~
199
199
200
- On RHEL 6, to build the Open vSwitch kernel module, copy
201
- rhel/openvswitch-kmod.files into the RPM sources directory and run::
200
+ On RHEL 6, to build the Open vSwitch kernel module run::
202
201
203
- $ rpmbuild -bb rhel/openvswitch- kmod-rhel6.spec
202
+ $ rpmbuild -bb rhel/kmod-openvswitch -rhel6.spec
204
203
205
204
You might have to specify a kernel version and/or variants, e.g.:
206
205
207
206
$ rpmbuild -bb \
208
207
-D "kversion 2.6.32-131.6.1.el6.x86_64" \
209
208
-D "kflavors default debug kdump" \
210
- rhel/openvswitch- kmod-rhel6.spec
209
+ rhel/kmod-openvswitch -rhel6.spec
211
210
212
211
This produces an "kmod-openvswitch" RPM for each kernel variant, in this
213
212
example: "kmod-openvswitch", "kmod-openvswitch-debug", and
Original file line number Diff line number Diff line change 41
41
chdir : /git/ovs/rhel
42
42
with_items :
43
43
- openvswitch.spec
44
- - openvswitch- kmod-rhel6.spec
44
+ - kmod-openvswitch -rhel6.spec
45
45
46
46
- name : Install build dependencies specified from spec files
47
47
shell : echo "y" | yum-builddep /tmp/{{item}}
48
48
with_items :
49
49
- openvswitch.spec
50
- - openvswitch- kmod-rhel6.spec
50
+ - kmod-openvswitch -rhel6.spec
51
51
52
52
- name : Create rpm dev tree
53
53
command : rpmdev-setuptree
81
81
line : " Release: {{ ansible_local.builder.release }}"
82
82
with_items :
83
83
- openvswitch.spec
84
- - openvswitch- kmod-rhel6.spec
84
+ - kmod-openvswitch -rhel6.spec
85
85
86
86
- name : Build Open vSwitch user space rpms
87
87
command : rpmbuild -bb --without check rhel/openvswitch.spec
88
88
args :
89
89
chdir : " {{SOURCE}}/openvswitch-{{version.stdout}}"
90
90
91
91
- name : Build Open vSwitch kmod rpms (only for currently loaded kernel)
92
- command : rpmbuild -bb --without check rhel/openvswitch- kmod-rhel6.spec
92
+ command : rpmbuild -bb --without check rhel/kmod-openvswitch -rhel6.spec
93
93
args :
94
94
chdir : " {{SOURCE}}/openvswitch-{{version.stdout}}"
95
95
Original file line number Diff line number Diff line change 1
1
openvswitch-dkms.spec
2
2
openvswitch-kmod-rhel5.spec
3
- openvswitch- kmod-rhel6.spec
3
+ kmod-openvswitch -rhel6.spec
4
4
openvswitch-kmod-fedora.spec
5
5
openvswitch.spec
6
6
openvswitch-fedora.spec
Original file line number Diff line number Diff line change @@ -15,8 +15,8 @@ EXTRA_DIST += \
15
15
rhel/etc_sysconfig_network-scripts_ifup-ovs \
16
16
rhel/openvswitch-dkms.spec \
17
17
rhel/openvswitch-dkms.spec.in \
18
- rhel/openvswitch- kmod-rhel6.spec \
19
- rhel/openvswitch- kmod-rhel6.spec.in \
18
+ rhel/kmod-openvswitch -rhel6.spec \
19
+ rhel/kmod-openvswitch -rhel6.spec.in \
20
20
rhel/openvswitch-kmod.files \
21
21
rhel/openvswitch-kmod-fedora.spec \
22
22
rhel/openvswitch-kmod-fedora.spec.in \
@@ -48,7 +48,7 @@ update_rhel_spec = \
48
48
$(srcdir ) /rhel/openvswitch-dkms.spec : rhel/openvswitch-dkms.spec.in $(top_builddir ) /config.status
49
49
$(update_rhel_spec )
50
50
51
- $(srcdir ) /rhel/openvswitch- kmod-rhel6.spec : rhel/openvswitch- kmod-rhel6.spec.in $(top_builddir ) /config.status
51
+ $(srcdir ) /rhel/kmod-openvswitch- rhel6.spec : rhel/kmod-openvswitch -rhel6.spec.in $(top_builddir ) /config.status
52
52
$(update_rhel_spec )
53
53
54
54
$(srcdir ) /rhel/openvswitch-kmod-fedora.spec : rhel/openvswitch-kmod-fedora.spec.in $(top_builddir ) /config.status
File renamed without changes.
You can’t perform that action at this time.
0 commit comments