Rebuilding the Lustre-client rpms for a new kernel

# rpmbuild –rebuild .src.rpm

Building the Lustre file system client only

# rpmbuild –rebuild –without servers .src.rpm

# rpmbuild –rebuild –define ‘configure_args –disable-server –enable-client –with-linux=/usr/src/kernels/2.6.32-573.el6.x86_64 –with-o2ib=/usr/src/ofa_kernel/default’ lustre-client-2.5.3-2.6.32_431.23.3.el6.x86_64.src.rpm

# rpm -ivh lustre-client-2.5.3-2.6.32_431.23.3.el6.x86_64.src.rpm
# cd ~/rpmbuild/
# cd SOURCES/
# cp lustre-2.5.3.tar.gz /tmp
# cd /tmp
# tar zxvf lustre-2.5.3.tar.gz
# cd lustre-2.5.3
# ./configure –disable-server –with-o2ib=/usr/src/ofa_kernel/default

# ./configure –with-linux=/usr/src/kernels/2.6.32-573.el6.x86_64 –with-o2ib=/usr/src/ofa_kernel/default
# make
# make rpms

Leave a Reply

Your email address will not be published. Required fields are marked *

 

This site uses Akismet to reduce spam. Learn how your comment data is processed.