]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph-build.git/commitdiff
build-ceph-deb-native: no libbabeltrace for wheezy
authorSage Weil <sage@redhat.com>
Wed, 20 Aug 2014 17:59:59 +0000 (10:59 -0700)
committerSage Weil <sage@redhat.com>
Wed, 20 Aug 2014 17:59:59 +0000 (10:59 -0700)
Signed-off-by: Sage Weil <sage@redhat.com>
build_snapshot_native.sh

index 88eba6d30178cef4b6a9faf7549d535cfffcfae9..35f7f2c43534dfbe25b68350d6d94d4877f87dd6 100755 (executable)
@@ -48,6 +48,13 @@ if [ "$chver" != "$debver" ]; then
     DEBEMAIL="sage@newdream.net" dch -D $dist --force-distribution -b -v "$debver" "autobuilt"
 fi
 
+# remove missing wheezy deps?
+if [ "$dist" = "wheezy" ]; then
+    echo removing libbabeltrace for wheezy
+    grep -v libbabeltrace debian/control > debian/control.new
+    mv debian/control.new debian/control
+fi
+
 # build
 dpkg-buildpackage -j$numproc -k$keyid