mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
Swap current dir (.) with CEPH_BIN for OOT builds
With out-of-tree builds, vstart.sh needs CEPH_BIN to be set, and needs to look for init-ceph in CEPH_BIN rather than just ./init-ceph. Signed-off-by: Sam Lang <sam.lang@inktank.com>
This commit is contained in:
parent
0f7c516f3e
commit
faddb80c42
@ -193,12 +193,15 @@ fi
|
||||
# lockdep everywhere?
|
||||
# export CEPH_ARGS="--lockdep 1"
|
||||
|
||||
[ -z "$CEPH_BIN" ] && CEPH_BIN=.
|
||||
[ -z "$CEPH_PORT" ] && CEPH_PORT=6789
|
||||
|
||||
|
||||
# sudo if btrfs
|
||||
test -d dev/osd0/. && test -e dev/sudo && SUDO="sudo"
|
||||
|
||||
if [ "$start_all" -eq 1 ]; then
|
||||
$SUDO ./init-ceph stop
|
||||
$SUDO $CEPH_BIN/init-ceph stop
|
||||
fi
|
||||
$SUDO rm -f core*
|
||||
|
||||
@ -224,9 +227,6 @@ else
|
||||
fi
|
||||
echo "ip $IP"
|
||||
|
||||
[ -z "$CEPH_BIN" ] && CEPH_BIN=.
|
||||
[ -z "$CEPH_PORT" ] && CEPH_PORT=6789
|
||||
|
||||
|
||||
|
||||
if [ "$cephx" -eq 1 ]; then
|
||||
|
Loading…
Reference in New Issue
Block a user