ceph/qa/workunits/kernel_untar_build.sh

21 lines
329 B
Bash
Raw Normal View History

#!/usr/bin/env bash
set -ex
2010-04-14 17:08:42 +00:00
wget -O linux.tar.xz http://download.ceph.com/qa/linux-6.5.11.tar.xz
mkdir t
cd t
tar xJf ../linux.tar.xz
cd linux*
make defconfig
2010-03-08 21:35:56 +00:00
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*