Hi Vlad, On 9/12/10 5:34 AM, Vladimir Sokolovsky wrote: > 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. > Great, that's what I did. > 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. > Ok, that's fine. I was reluctant to do that because I assumed that there was some tool that "did that for you" and that there would be some other set of things needed that weren't so obvious.
Thanks! Tom > Regards, > Vladimir _______________________________________________ ewg mailing list [email protected] http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg
