Possible bug in src/Makefile.am
I noticed when building with prefix=/usr/local that the install step produced an usr/local/sbin hierarchy *under* /usr/local (i.e /usr/local/usr/local/sbin) with ceph_disk and friends (i.e ceph_sbin_SCRIPTS) therein. I am guessing that these should actually be installed in /usr/local/sbin (i.e prefix/sbin).
The attached patch does this.
Regards
Mark
src/Makefile.am +1 -1
@@ -28,7 +28,7 @@ bin_PROGRAMS = bin_DEBUGPROGRAMS = sbin_PROGRAMS = # like sbin_SCRIPTS but can be used to install to e.g. /usr/sbin -ceph_sbindir = $(prefix)$(sbindir) +ceph_sbindir = $(sbindir) ceph_sbin_SCRIPTS = \ ceph-disk \ ceph-disk-prepare \
It seems this has been noted previously (just...):
http://tracker.ceph.com/issues/5492
Blast, I was just a bit slow :-) , should have posted when I first noticed this a week or so ago!
Regards
Mark
Quoted 11 lines · Mark Kirkwood
I noticed when building with prefix=/usr/local that the install step produced an
usr/local/sbinhierarchy *under*/usr/local(i.e/usr/local/usr/local/sbin) withceph_diskand friends (i.eceph_sbin_SCRIPTS) therein. I am guessing that these should actually be installed in/usr/local/sbin(i.e prefix/sbin).The attached patch does this.
Regards
Mark