From 115349680bad520a0aa56ce3a346d93f541a905c Mon Sep 17 00:00:00 2001 From: Ken Dreyer Date: Tue, 31 May 2016 17:50:05 -0600 Subject: [PATCH] packaging: move parted requirement to -osd subpkg Prior to this change, ceph-base required the "parted" package, which meant that any installation of ceph-osd, ceph-mon, or ceph-mds would pull in the parted package. Move the parted dependency to ceph-osd, since ceph-disk is the only thing that uses parted. The advantage of this change is that Mon and MDS systems will not need to install the parted package. Fixes: http://tracker.ceph.com/issues/16095 Signed-off-by: Ken Dreyer --- ceph.spec.in | 2 +- debian/control | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index 54fc4a9045a63..f891bda7ccc7f 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -205,7 +205,6 @@ Requires: python-setuptools Requires: grep Requires: xfsprogs Requires: logrotate -Requires: parted Requires: util-linux Requires: hdparm Requires: cryptsetup @@ -344,6 +343,7 @@ Requires: gdisk %if 0%{?suse_version} Requires: gptfdisk %endif +Requires: parted %description osd ceph-osd is the object storage daemon for the Ceph distributed file system. It is responsible for storing objects on a local file system diff --git a/debian/control b/debian/control index 00c6222d48c23..2f10fbbae876a 100644 --- a/debian/control +++ b/debian/control @@ -91,7 +91,6 @@ Depends: binutils, grep, logrotate, lsb-release, - parted, python, python-argparse | libpython2.7-stdlib, python-pkg-resources, @@ -180,7 +179,10 @@ Description: debugging symbols for ceph-mon Package: ceph-osd Architecture: linux-any -Depends: ceph-base (= ${binary:Version}), ${misc:Depends}, ${shlibs:Depends} +Depends: ceph-base (= ${binary:Version}), + parted, + ${misc:Depends}, + ${shlibs:Depends} Recommends: ceph-common (= ${binary:Version}) Replaces: ceph (<< 10) Breaks: ceph (<< 10)