From e93f35520d5d553def11b6d053f3b555f5619f84 Mon Sep 17 00:00:00 2001 From: T K Chandra Hasan Date: Thu, 27 Nov 2025 21:28:26 +0530 Subject: [PATCH] Fix install-deps.sh script when crimson flag is disabled. With ceph#66229 merged, crimson is now enabled by default for all the builds. So if we're trying to build with crimson disabled, the bcond must be reversed to install the relavant dependencies. Signed-off-by: T K Chandra Hasan --- install-deps.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install-deps.sh b/install-deps.sh index 57bfb81117d..c7a26311e8a 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -39,8 +39,8 @@ function munge_ceph_spec_in { local OUTFILE=$1 sed -e 's/@//g' < ceph.spec.in > $OUTFILE # http://rpm.org/user_doc/conditional_builds.html - if $with_crimson; then - sed -i -e 's/%bcond_with crimson/%bcond_without crimson/g' $OUTFILE + if ! $with_crimson; then + sed -i -e 's/%bcond_without crimson/%bcond_with crimson/g' $OUTFILE fi if $for_make_check; then sed -i -e 's/%bcond_with make_check/%bcond_without make_check/g' $OUTFILE -- 2.47.3