On Thu, Mar 12, 2009 at 11:37:15AM -0500, Steve Wise wrote: > Vlad: > > Tziporet asked that I host this src rpm. > > So the official URL is: > > http://www.openfabrics.org:~swise/ofed_1_4/rnfs-utils > > Please alter jons patches to the build scripts accordingly.
I've altered the change to build_ofed.sh, which should be the only change necessary to point to the new location. I've attached the patch to this e-mail. Thanks, Jon > > Thanks! > > > Steve. > > > Jon Mason wrote: >> Hey Vlad, >> I have a working SRPM for nfs-utils. There is a fairly large design >> decision I made, that I wanted to make you aware of before you pull this >> in. The nfs-utils RPM has some things that are very specific to each >> distro. Specifically, the init scripts to start/stop the nfs daemon. >> I chose to work around this issue by only installing the mount part >> necessary for mounting RDMA NFS connections, and naming it mount.rnfs. >> This prevents any collisions with the existing nfs-utils, and thus the >> same init scripts are still there with the original nfs-utils RPM. This >> is VERY similar to what Tom Tucker did for the OFED 1.2 backport. >> >> Per your instructions I have created the diffs to add support for the >> modified nfs-utils. I have attached the files necessary to this e-mail. >> Let me know if there are any problems. >> >> Thanks, >> Jon >
diff --git a/build_ofed.sh b/build_ofed.sh index 4e5e7db..f83a9a3 100755 --- a/build_ofed.sh +++ b/build_ofed.sh @@ -113,6 +113,8 @@ bonding_URL="http://www.openfabrics.org/~monis/ofed_1_4" rds_tools_URL="http://www.openfabrics.org/~vlad/ofed_1_4/rds-tools" +rnfs_utils_URL="http://www.openfabrics.org/~swise/ofed_1_4/rnfs-utils" + dapl_URL="http://www.openfabrics.org/downloads/dapl/dapl-2.0.15.tar.gz" compat_dapl_URL="http://www.openfabrics.org/downloads/dapl/compat-dapl-1.2.12.tar.gz" @@ -588,6 +590,25 @@ get_rds_tools() } +get_rnfs_utils() +{ + echo Get rnfs-utils source RPM + cd ${tmpdir} + + /bin/rm -rf ${PACKAGE}_rnfs_utils + mkdir ${PACKAGE}_rnfs_utils + cd ${PACKAGE}_rnfs_utils + # Get rnfs-utils + ex wget ${rnfs_utils_URL}/latest.txt + rnfs_utils_name=$(cat latest.txt) + ex wget ${rnfs_utils_URL}/${rnfs_utils_name} + /bin/rm -f latest.txt + cd - + ex cp -a ${PACKAGE}_rnfs_utils/rnfs-utils* ${CWD}/${PACKAGE}-${PACKAGE_VERSION}/SRPMS/ + /bin/rm -rf ${PACKAGE}_rnfs_utils + +} + build_docs() { cd ${tmpdir} @@ -746,6 +767,9 @@ main() # Get rds-tools get_rds_tools + # Get rnfs-utils + get_rnfs_utils + # Build docs rpm build_docs
_______________________________________________ ewg mailing list ewg@lists.openfabrics.org http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg