From 819c8b169325045ae8bac9c4f38a58c75e22d099 Mon Sep 17 00:00:00 2001 From: Shaun Tancheff Date: Thu, 1 Sep 2022 21:46:16 +0700 Subject: [PATCH] LU-16131 build: Do not depend on libmount during --enable-dist Defer the libmount requirement when using --enable-dist to generate the lustre-src.rpm. This allows mock and/or yum build-deps to resolve resolve dependencies and pickup the libmount requirement without changing the existing minimal build. Test-Parameters: trivial HPE-bug-id: LUS-11091 Fixes: f21b944127 ("LU-15940 build: add a required dependency for libmount") Signed-off-by: Shaun Tancheff Change-Id: I20a7a097f9b651b6ea5519f79efda6c96b6f2199 Reviewed-on: https://review.whamcloud.com/48407 Tested-by: jenkins Tested-by: Maloo Reviewed-by: Jian Yu Reviewed-by: James Simmons Reviewed-by: Petros Koutoupis Reviewed-by: Olaf Faaland Reviewed-by: Oleg Drokin --- config/lustre-build.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/lustre-build.m4 b/config/lustre-build.m4 index c6ac857..bb81556 100644 --- a/config/lustre-build.m4 +++ b/config/lustre-build.m4 @@ -698,7 +698,7 @@ AS_IF([test "x$enable_tests" = xyes], [ LIBCFS_CONFIG_CDEBUG LC_QUOTA -LB_LIBMOUNT +AS_IF([test "x$enable_dist" != xno], [],[LB_LIBMOUNT]) LB_PATH_SNMP LB_PATH_LUSTREIOKIT -- 1.8.3.1