[openib-general] buiild.sh
Boris Shpolyansky
boris at mellanox.com
Mon Jan 15 11:24:23 PST 2007
Hi Michael,
Hope these instructions would help you:
1. Open OFED-1.1 tar ball
tar xvfz OFED-1.1.tgz
2. Apply build.patch (fixing build.sh script - attached)
cd OFED-1.1
patch -p0 < build.patch
3. cd OFED-1.1/SOURCES
4. Open openib-1.1.tgz
tar xvfz openib-1.1.tgz
5. Put your own patch file under appropriate dir, like:
openib-1.1/kernel_patches/fixes/
6. Go back to OFED-1.1-rc6 dir
cd ..
7. Remove original source RPM:
rm SRPMS/openib-1.1-0.src.rpm
8. Rebuild your binary RPM(s) using build.sh. It should build new source
RPM first.
(you can use "-c" option for unattended build if you have current
ofed.conf file up to date or do an interactive build)
./build.sh [-c ofed.conf]
9. Re-install the RPMs using install.sh
Regards,
Boris Shpolyansky
Application Engineer
Mellanox Technologies Inc.
2900 Stender Way
Santa Clara, CA 95054
Tel.: (408) 916 0014
Fax: (408) 970 3403
Cell: (408) 834 9365
www.mellanox.com
-----Original Message-----
From: openib-general-bounces at openib.org
[mailto:openib-general-bounces at openib.org] On Behalf Of Michael Arndt
Sent: Sunday, January 14, 2007 3:07 AM
To: OpenIB Mailinglist
Subject: [openib-general] buiild.sh
Hi,
I have some simple changes like printk(KERN_INFO "...") messages in the
mad.c file to get more informations. But it seems to be that the
build.sh script uses the openib-1.1.src.rpm to build the rpms. Is there
a simple way to rebuild this src.rpm with the new source code and doing
all the patches?
I have read something about add_patch2ofed? How would that work?
Thanks Micha
_______________________________________________
openib-general mailing list
openib-general at openib.org
http://openib.org/mailman/listinfo/openib-general
To unsubscribe, please visit
http://openib.org/mailman/listinfo/openib-general
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.patch
Type: application/octet-stream
Size: 694 bytes
Desc: build.patch
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20070115/c2271d33/attachment.obj>
More information about the general
mailing list