Hi Arman,


The SRPM packages cannot be handled by YUM since they have a different internal format and are not intended for system installation. Instead, the “rpm” command can extract these packages and will “install” the content into an RPM build structure (by default $HOME/rpmbuild/SOURCES,SPEC}). One can then use the rpmbuild command to create binary packages (rpmbuild creates $HOME/rpmbuild/{BUILD,BUILDROOT,RPMS,SRPMS and runs through compilation based on the instructions in the spec file). For example:


rpm -ivh http://downloads.whamcloud.com/public/lustre/lustre-2.4.0/el6/server/SRPMS/kernel-2.6.32-358.6.2.el6_lustre.g230b174.src.rpm

rpmbuild -ba --with firmware $HOME/rpmbuild/SPECS/kernel.spec


The binary RPM packages for the Lustre-patched kernels are here:




These can be installed by YUM.







Malcolm Cowe, Systems Engineer

Intel High Performance Data Division


+61 408 573 001


From: hpdd-discuss-bounces@lists.01.org [mailto:hpdd-discuss-bounces@lists.01.org] On Behalf Of Arman Khalatyan
Sent: Tuesday, July 09, 2013 3:11 AM
To: hpdd-discuss@lists.01.org
Subject: [HPDD-discuss] Lustre 2.4.0 kernel-src has a wrong file format on repository.


Yum always claims that file has a wrong format:
kernel-2.6.32-358.6.2.el6_lustre.g230b174.src.rpm                                                                   |  85 MB     00:34
Examining /var/tmp/yum-root-TpX4mk/kernel-2.6.32-358.6.2.el6_lustre.g230b174.src.rpm: kernel-2.6.32-358.6.2.el6_lustre.g230b174.src
Cannot add package http://downloads.whamcloud.com/public/lustre/lustre-2.4.0/el6/server/SRPMS/kernel-2.6.32-358.6.2.el6_lustre.g230b174.src.rpm to transaction. Not a compatible architecture: src
Error: Nothing to do

Can some one fix it?
thank you beforehand.