From 38f96c658dee3e7e26a68a3c57eec2a5d8758e17 Mon Sep 17 00:00:00 2001 From: Colin Patrick McCabe Date: Tue, 2 Nov 2010 14:37:56 -0700 Subject: [PATCH] debian packaging: set --sbindir=/sbin We want mkcephfs and mount.ceph to be under /sbin. Signed-off-by: Colin McCabe --- ceph.spec.in | 4 ++-- debian/rules | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index 3b03085880777..0d3fd71d099c3 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -57,9 +57,9 @@ conjunction with any FastCGI capable web server. %build ./autogen.sh %if %{with_radosgw} -%{configure} --without-hadoop --with-radosgw +%{configure} --prefix=/usr --sbindir=/sbin --without-hadoop --with-radosgw %else -%{configure} --without-hadoop --without-radosgw +%{configure} --prefix=/usr --sbindir=/sbin --without-hadoop --without-radosgw %endif make -j$(getconf _NPROCESSORS_ONLN) CFLAGS="$RPM_OPT_FLAGS" CXXFLAGS="$RPM_OPT_FLAGS" diff --git a/debian/rules b/debian/rules index 68caf393fe0b7..c5504d2a49992 100755 --- a/debian/rules +++ b/debian/rules @@ -10,7 +10,7 @@ build-stamp: configure-stamp dh_testdir ./autogen.sh - ./configure --prefix=/usr + ./configure --prefix=/usr --sbindir=/sbin $(MAKE) cp src/init-ceph debian/ceph.init cp src/logrotate.conf debian/ceph.logrotate -- 2.39.5