Skip to content

Commit

Permalink
rpm,deb: make parted runtime dependency of ceph-osd
Browse files Browse the repository at this point in the history
we don't run parted when building ceph, instead, it is a runtime
dependency of ceph-volume, which is packaged in ceph-osd.

so in this change

* parted is removed from build dependency list
* parted is added as a runtime depedency of ceph-osd.

Signed-off-by: Kefu Chai <[email protected]>
  • Loading branch information
tchaikov committed Sep 14, 2021
1 parent 569368a commit c1d60c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion ceph.spec.in
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,6 @@ BuildRequires: libxml2-devel
BuildRequires: make
BuildRequires: ncurses-devel
BuildRequires: libicu-devel
BuildRequires: parted
BuildRequires: patch
BuildRequires: perl
BuildRequires: pkgconfig
Expand Down Expand Up @@ -800,6 +799,7 @@ Requires: ceph-base = %{_epoch_prefix}%{version}-%{release}
Requires: lvm2
Requires: sudo
Requires: libstoragemgmt
Requires: parted
Requires: python%{python3_pkgversion}-ceph-common = %{_epoch_prefix}%{version}-%{release}
Requires: python%{python3_pkgversion}-setuptools
%description osd
Expand Down
4 changes: 2 additions & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,6 @@ Build-Depends: automake,
libxmlsec1-dev <pkg.ceph.check>,
ninja-build <pkg.ceph.check>,
nlohmann-json3-dev <pkg.ceph.jaeger>,
parted,
patch,
pkg-config,
prometheus <pkg.ceph.check>,
Expand Down Expand Up @@ -406,7 +405,8 @@ Package: ceph-osd
Architecture: linux-any
Depends: ceph-base (= ${binary:Version}),
lvm2,
sudo,
parted,
sudo,
${misc:Depends},
${python:Depends},
${shlibs:Depends},
Expand Down

0 comments on commit c1d60c4

Please sign in to comment.