From: T K Chandra Hasan Date: Thu, 27 Nov 2025 15:58:26 +0000 (+0530) Subject: Fix install-deps.sh script when crimson flag is disabled. X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F66441%2Fhead;p=ceph.git 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 --- 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