If the lustre-client RPMs need to be rebuild against a different client kernel, follow this procedure.
There is currently a problem rebuilding the lustre-client rpms. Fixing this issue is being tracked on LU-1076: http://jira.whamcloud.com/browse/LU-1076.
NOTE This procedure assumes you are using a RPM based distribution. For example RHEL or CentOS.
- Install the following packages:
If you are not currently booted into the kernel provided by
kernel-develpackage review the trouble-shooting section below.
- Obtain the lustre-client .src.rpm (from the SRPMS section of the download site).
- On the build node, run the command:
NOTE The resulting RPMS may be named 'lustre-modules' rather than 'lustre-client-modules'
Building against a different kernel.
To build against a different kernel to the one currently running, you need to provide the chosen kernel to
rpmbuild. For example: