ceph/qa/workunits/kernel_untar_build.sh
Armando Segnini 33f0afdd15 doc: Some files still use http://ceph.newdream.net
This probably redirects to http://ceph.com but ceph.newdream.net still appears in some places

http://tracker.ceph.com/issues/10615 Fixes: #10615

Related: #9922

Signed-off-by: Armando Segnini <armando.segnini@telecom-bretagne.eu>
2015-01-23 12:28:58 +01:00

22 lines
346 B
Bash
Executable File

#!/bin/bash
set -e
#wget -q http://ceph.com/qa/linux-2.6.33.tar.bz2
wget -q http://ceph.com/qa/linux-3.2.9.tar.bz2
mkdir t
cd t
tar jxvf ../linux*.bz2
cd linux*
make defconfig
make -j`grep -c processor /proc/cpuinfo`
cd ..
if ! rm -rv linux* ; then
echo "uh oh rm -r failed, it left behind:"
find .
exit 1
fi
cd ..
rm -rv t linux*