Commit d32fa2b9 authored by Vladimir Bashkirtsev's avatar Vladimir Bashkirtsev

make install may run out of memory - do not disable the swap until installation is complete

parent 1dd810ba
......@@ -41,12 +41,6 @@ all: ceph-config
cd ceph-15.2.3 && tar xf ../ceph-object-corpus.tar.xz
cd ceph-15.2.3/build && CTEST_OUTPUT_ON_FAILURE=1 NODE_OPTIONS="--max-old-space-size=4096" make check
rm -rf /lib64
umount /tmp
rm -rf tmp
swapoff swap
rm -rf swap
$(MAKE) -C ceph-15.2.3/build install
rm /usr/bin/ceph_test*
find / -name *.pyc -exec rm -f '{}' ';'
......@@ -84,6 +78,12 @@ all: ceph-config
systemctl enable ceph-osd.target
systemctl enable ceph-radosgw.target
rm -rf /lib64
umount /tmp
rm -rf tmp
swapoff swap
rm -rf swap
rm -rf ceph-15.2.3
ceph-config:
......
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