diff options
author | Alexey I. Froloff <raorn@altlinux.org> | 2011-09-07 13:02:58 +0400 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2011-09-08 12:45:23 -0700 |
commit | 6c9b8ee4d0cae3acde728945f3a222b62a643304 (patch) | |
tree | 3e021048feeea69f775d6c938756cde0fa478581 /INSTALL.RHEL | |
parent | 1821f032e0b621dad19750da2fc8f346c6007a7e (diff) |
rhel: add ability to build kmod packages for arbitrary kernel version/variant(s)
Usage:
rpmbuild --rebuild \
-D 'kversion KERNEL_VERSION' \
-D 'kflavors FLAVORS TO BUILD' \
openvswitch-kmod-VERSION-RELEASE.src.rpm
Signed-off-by: Alexey I. Froloff <raorn@altlinux.org>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'INSTALL.RHEL')
-rw-r--r-- | INSTALL.RHEL | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/INSTALL.RHEL b/INSTALL.RHEL index 35589484..b4523835 100644 --- a/INSTALL.RHEL +++ b/INSTALL.RHEL @@ -53,7 +53,16 @@ RHEL. On RHEL 5, the default RPM source directory is rpmbuild -bb rhel/openvswitch-kmod-rhel6.spec - This produces an "kmod-openvswitch" RPM. + You might have to specify a kernel version and/or variants, e.g.: + + rpmbuild -bb \ + -D "kversion 2.6.32-131.6.1.el6.x86_64" \ + -D "kflavors default debug kdump" \ + rhel/openvswitch-kmod-rhel6.spec + + This produces an "kmod-openvswitch" RPM for each kernel variant, + in this example: "kmod-openvswitch", "kmod-openvswitch-debug", and + "kmod-openvswitch-kdump". Reporting Bugs -------------- |