Commit e46f3036 authored by Volodymyr Yurchenko's avatar Volodymyr Yurchenko
Browse files

Do submodule update in CTA bootstrap script

To make it more self-contained
parent 2bfb22bf
......@@ -3,6 +3,9 @@
set -x
echo Preparing CTA sources...
cd ~/CTA
git submodule update --init --recursive
cat > ~/CTA/.git/hooks/post-checkout << EOFGitHook
cd `git rev-parse --show-toplevel`
......@@ -29,6 +29,6 @@ echo Installing minimal tools and tape tools
sudo yum install -y git cmake rpm-build gcc gcc-c++ vim gdb cgdb strace ltrace screen tig lsscsi mt-st mtx sg3_utils jq psmisc mariadb-devel yum-plugin-versionlock krb5-workstation wget yum-utils epel-release
echo "Getting CTA sources for $CTAUSER..."
sudo -u $CTAUSER bash -c 'cd ~ ; git clone; cd CTA ; git submodule update --init --recursive'
sudo -u $CTAUSER bash -c 'cd ~ ; git clone'
echo System bootstrap finished!
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment