Whamcloud - gitweb
EX-2984 build: fix build opa in lbuild
authorMinh Diep <mdiep@whamcloud.com>
Thu, 8 Apr 2021 20:39:14 +0000 (13:39 -0700)
committerAndreas Dilger <adilger@whamcloud.com>
Fri, 9 Apr 2021 21:56:26 +0000 (21:56 +0000)
Add missed a call to build_opa.

Test-Parameters: trivial
Fixes: 8f467a03e3b9 ("EX-2439 build: Add opa-src option to lbuild")
Change-Id: I857696f7099deb80d70855188be8628d678148f9
Signed-off-by: Minh Diep <mdiep@whamcloud.com>
Reviewed-on: https://review.whamcloud.com/43243
Tested-by: jenkins <devops@whamcloud.com>
Tested-by: Maloo <maloo@whamcloud.com>
Reviewed-by: Jian Yu <yujian@whamcloud.com>
Reviewed-by: Andreas Dilger <adilger@whamcloud.com>
contrib/lbuild/lbuild

index 77b4e36..cc76909 100755 (executable)
@@ -1661,6 +1661,10 @@ build_ofed() {
        local o2ib_location
        local rpm
 
+       if [ x"$OPA_VERSION" != "x" ]; then
+               build_opa "$linux"
+       fi
+
     if [ "$ofed_version" = "inkernel" ]; then
         # see if there is a distro specific override for this and use
         # that if it exists