From 028751bce606e337793e5ac12af7d0ebf77da657 Mon Sep 17 00:00:00 2001 From: Deepika Upadhyay Date: Tue, 1 Feb 2022 16:48:18 +0530 Subject: [PATCH] install-deps: make jaeger package install default, removes with_jaeger flag Signed-off-by: Deepika Upadhyay --- install-deps.sh | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/install-deps.sh b/install-deps.sh index dcf98869635..5373a9260bf 100755 --- a/install-deps.sh +++ b/install-deps.sh @@ -34,17 +34,12 @@ function munge_ceph_spec_in { shift local for_make_check=$1 shift - local with_jaeger=$1 - shift local OUTFILE=$1 sed -e 's/@//g' < ceph.spec.in > $OUTFILE # http://rpm.org/user_doc/conditional_builds.html if $with_seastar; then sed -i -e 's/%bcond_with seastar/%bcond_without seastar/g' $OUTFILE fi - if $with_jaeger; then - sed -i -e 's/%bcond_with jaeger/%bcond_without jaeger/g' $OUTFILE - fi if $with_zbd; then sed -i -e 's/%bcond_with zbd/%bcond_without zbd/g' $OUTFILE fi @@ -63,10 +58,6 @@ function munge_debian_control { grep -v babeltrace debian/control > $control ;; esac - if $with_jaeger; then - sed -i -e 's/^# Jaeger[[:space:]]//g' $control - sed -i -e 's/^# Crimson libyaml-cpp-dev,/d' $control - fi echo $control } @@ -316,7 +307,6 @@ if [ x$(uname)x = xFreeBSDx ]; then exit else [ $WITH_SEASTAR ] && with_seastar=true || with_seastar=false - [ $WITH_JAEGER ] && with_jaeger=true || with_jaeger=false [ $WITH_ZBD ] && with_zbd=true || with_zbd=false [ $WITH_PMEM ] && with_pmem=true || with_pmem=false [ $WITH_RADOSGW_MOTR ] && with_rgw_motr=true || with_rgw_motr=false @@ -368,9 +358,6 @@ else if $with_seastar; then build_profiles+=",pkg.ceph.crimson" fi - if $with_jaeger; then - build_profiles+=",pkg.ceph.jaeger" - fi in_jenkins && cat <&1 | tee $DIR/yum-builddep.out @@ -455,7 +442,7 @@ EOF echo "Using zypper to install dependencies" zypp_install="zypper --gpg-auto-import-keys --non-interactive install --no-recommends" $SUDO $zypp_install systemd-rpm-macros rpm-build || exit 1 - munge_ceph_spec_in $with_seastar false $for_make_check $with_jaeger $DIR/ceph.spec + munge_ceph_spec_in $with_seastar false $for_make_check $DIR/ceph.spec $SUDO $zypp_install $(rpmspec -q --buildrequires $DIR/ceph.spec) || exit 1 ;; *) -- 2.47.3