out the git submodules associated with it:
cd ceph
- git submodule update --init --recursive
+ git submodule update --init --recursive --progress
## Build Prerequisites
set -ex
if [ -d .git ]; then
- git submodule update --init --recursive
+ git submodule update --init --recursive --progress
fi
: ${BUILD_DIR:=build}
git clone ceph.git
cd ceph
- git submodule update --init --recursive
+ git submodule update --init --recursive --progress
#. Build with flag to dump objects to ``/tmp/foo``::
.. prompt:: bash $
- git submodule update --force --init --recursive
+ git submodule update --force --init --recursive --progress
git clean -fdx
git submodule foreach git clean -fdx
If you still have problems with a submodule directory, use ``rm -rf
[directory name]`` to remove the directory. Then run ``git submodule update
- --init --recursive`` again.
+ --init --recursive --progress`` again.
#. Run ``git status`` again:
# update submodules
echo "updating submodules..."
force=$(if git submodule usage 2>&1 | grep --quiet 'update.*--force'; then echo --force ; fi)
-if ! git submodule sync || ! git submodule update $force --init --recursive; then
+if ! git submodule sync || ! git submodule update $force --init --recursive --progress; then
echo "Error: could not initialize submodule projects"
echo " Network connectivity might be required."
exit 1
fi
pushd $(dirname /home/ubuntu/cephtest/clone.client.0/qa/workunits/rados/bash.sh)/../../../
-git submodule update --init src/rocksdb
+git submodule update --init --progress src/rocksdb
popd
git clone $(dirname /home/ubuntu/cephtest/clone.client.0/qa/workunits/rados/bash.sh)/../../../src/rocksdb rocksdb