]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
debian packaging: set --sbindir=/sbin
authorColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 2 Nov 2010 21:37:56 +0000 (14:37 -0700)
committerColin Patrick McCabe <cmccabe@alumni.cmu.edu>
Tue, 2 Nov 2010 21:37:56 +0000 (14:37 -0700)
We want mkcephfs and mount.ceph to be under /sbin.

Signed-off-by: Colin McCabe <colinm@hq.newdream.net>
ceph.spec.in
debian/rules

index 3b03085880777ee4c611a760bdd5cdeea07fcec2..0d3fd71d099c31b3a4661c1c464aa86607f04370 100644 (file)
@@ -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"
 
index 68caf393fe0b7e4eae189a99bf237fd341087c58..c5504d2a49992d62622ffafbb428ad8b935ad2a7 100755 (executable)
@@ -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