Commit 378c794c authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

Give rust space to build crates and cleanup after build

parent 6db8ead3
......@@ -27,6 +27,10 @@ all: mongodb-service
mkswap swap
swapon swap
mkdir .cargo
mkdir -p /root/.cargo
mount --bind .cargo /root/.cargo
tar xf mongo-r4.2.4.tar.gz
patch -Np1 -d mongo-r4.2.4 < mongo-r4.2.4-no_debug.patch
mkdir mongo-home
......@@ -42,6 +46,10 @@ all: mongodb-service
rm -rf mongo-home
rm -rf mongo-r4.2.4
umount /root/.cargo
rm -rf /root/.cargo
rm -rf .cargo
swapoff swap
rm -rf swap
......
Markdown is supported
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