[ewg] Making a new ofed_kernel-1.5.1.tgz for OFED-1.5.1.tgz
Vladimir Sokolovsky
vlad at dev.mellanox.co.il
Sun Sep 12 04:34:49 PDT 2010
On 09/08/2010 01:41 AM, Tom Tucker wrote:
> Hi Vlad,
>
> I'm trying to test an update to the kernel in the context of OFED
> 1.5.1++. I've got
> everything 'packaged' and working to the point where I need to create an
> updated ofa_kernel-1.5.1-OFED.1.5.1..src.rpm
>
> I can use makedist to create backport .tgz files for plain
> (ofa_kernel.tgz, ofa_kernel-$backport.tgz), etc... but can't figure out
> how to build the actual src RPM. I presume this is an RPM built from
> ofa_kernel.tgz + a twizzled ofed_scripts/ofa_kernel.spec file with
> @VERSION@ etc... .replaced with 1.5.1, etc...
>
> Can you tell me how to do this?
>
> Thanks,
> Tom
>
>
Hi Tom,
You can use OFED-1.5.1/docs/ofed_patch.sh script to add a patch to existing
ofa_kernel source RPM.
Alternatively, you may replace @VERSION@ by 1.5.1 and @RELEASE@ by OFED.1.5.1
(or anything else), tar the directory and run "rpmbuild -ts <tar file>" to
create the source RPM.
Regards,
Vladimir
More information about the ewg
mailing list