These releases do not (by default) have a sane LTTng-UST environment,
which results in autoconf disabling support for tracing.
Signed-off-by: Jason Dillaman <dillaman@redhat.com>
default-jdk,
git,
gdisk,
+ grep,
javahelper,
junit4,
libaio-dev,
python-nose,
python-virtualenv,
sdparm | hdparm,
+ sed,
uuid-dev,
uuid-runtime,
xfslibs-dev,
./configure --prefix=/usr --localstatedir=/var \
--sysconfdir=/etc $(extraopts) $(confflags) \
$(CEPH_EXTRA_CONFIGURE_ARGS)
+
+ # Wheezy and Precise do not support tracepoints
+ if ! grep -q 'define WITH_LTTNG' src/acconfig.h ; then \
+ sed -i.orig '/lib.*_tp\.so/d' debian/ceph.install \
+ debian/librados2.install \
+ debian/librbd1.install ; \
+ fi
+
touch $@
build-arch: build