From 7d48d21a53a04adb92d75d16fb10c1e92d21c386 Mon Sep 17 00:00:00 2001 From: Erwan Velu Date: Mon, 22 Feb 2016 14:58:26 +0100 Subject: [PATCH] packaging: Adding btrfs build require When doing a 'make check', 'qa/workunits/ceph-helpers.sh' does expect the 'btrfs' command to be available. If not, that make many tests failing. Signed-off-by: Erwan Velu --- ceph.spec.in | 6 ++++++ debian/control | 1 + 2 files changed, 7 insertions(+) diff --git a/ceph.spec.in b/ceph.spec.in index 08d77451a1ebd..ad534090672f4 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -157,6 +157,9 @@ BuildRequires: libbz2-devel %if 0%{with tcmalloc} BuildRequires: gperftools-devel %endif +%if 0%{with tests} +BuildRequires: btrfsprogs +%endif BuildRequires: mozilla-nss-devel BuildRequires: keyutils-devel BuildRequires: libatomic-ops-devel @@ -166,6 +169,9 @@ BuildRequires: lsb-release %if 0%{?_with_systemd} Requires: systemd %endif +%if 0%{with tests} +BuildRequires: btrfs-progs +%endif BuildRequires: nss-devel BuildRequires: keyutils-libs-devel BuildRequires: libatomic_ops-devel diff --git a/debian/control b/debian/control index 10671829ebfec..899a9356c6f61 100644 --- a/debian/control +++ b/debian/control @@ -10,6 +10,7 @@ Uploaders: Ken Dreyer , Build-Depends: autoconf, automake, autotools-dev, + btrfs-tools, cmake, cpio, cryptsetup-bin | cryptsetup, -- 2.39.5