From 2b79b23b44026d407756587a828b5a1178389350 Mon Sep 17 00:00:00 2001 From: adilger Date: Sat, 28 Jun 2008 05:15:14 +0000 Subject: [PATCH] Branch b1_6 Ensure all module symbols from ldiskfs and OFED are available. b=16112 i=brian i=shadow --- lnet/autoconf/lustre-lnet.m4 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lnet/autoconf/lustre-lnet.m4 b/lnet/autoconf/lustre-lnet.m4 index 2166980..2fab63a 100644 --- a/lnet/autoconf/lustre-lnet.m4 +++ b/lnet/autoconf/lustre-lnet.m4 @@ -580,8 +580,11 @@ else # we know at this point that the found OFED source is good if test \( $ENABLEO2IB = 3 \); then if test \( -f $O2IBPATH/Module.symvers \); then - AC_MSG_NOTICE([adding $O2IBPATH/Module.symvers to $PWD/Module.symvers]) - cat $O2IBPATH/Module.symvers >> $PWD/Module.symvers + AC_MSG_NOTICE([adding $O2IBPATH/Module.symvers to $PWD/$SYMVERFILE]) + # strip out the existing symbols versions first + touch $O2IBPATH/Module.symvers + egrep -v $(echo $(awk '{ print $2 }' $O2IBPATH/Module.symvers) | tr ' ' '|') $PWD/$SYMVERFILE > $PWD/$SYMVERFILE.old + cat $PWD/$SYMVERFILE.old $O2IBPATH/Module.symvers > $PWD/$SYMVERFILE else AC_MSG_ERROR([an external source tree was specified for o2iblnd however I could not find a $O2IBPATH/Module.symvers there]) fi -- 1.8.3.1