blob: 93fee1f5b3e1b0dd1491e85643baec4be13e2840 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#!/bin/bash
set -e
wget -q http://download.ceph.com/qa/linux-4.0.5.tar.xz
mkdir t
cd t
tar Jxvf ../linux*.xz
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*
|