From: Sage Weil Date: Fri, 22 Aug 2014 17:57:50 +0000 (-0700) Subject: move wheezy hack into build_dsc.sh, where it belongs X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4e44da71d5ba7b201e3da8c7cc34d996f10d2564;p=ceph-build.git move wheezy hack into build_dsc.sh, where it belongs Signed-off-by: Sage Weil --- diff --git a/build_dsc.sh b/build_dsc.sh index dcab2c42..e5990a3f 100755 --- a/build_dsc.sh +++ b/build_dsc.sh @@ -55,8 +55,14 @@ do cd .. fi - # hack - [ "$dist" = "lenny" ] && sed -i 's/, libgoogle-perftools-dev[^,]*,/,/' ceph-$cephver/debian/control + # per-dist hacks + if [ "$dist" = "lenny" ]; then + sed -i 's/, libgoogle-perftools-dev[^,]*,/,/' ceph-$cephver/debian/control + fi + if [ "$dist" = "wheezy" ]; then + grep -v babeltrace ceph-$cephver/debian/control > ceph-$cephver/debian/control.new + mv ceph-$cephver/debian/control.new ceph-$cephver/debian/control + fi dpkg-source -b ceph-$cephver