2009-11-13 00:44:35 +00:00
|
|
|
#!/bin/bash
|
|
|
|
|
2010-04-14 17:08:42 +00:00
|
|
|
set -e
|
|
|
|
|
2015-06-16 15:13:41 +00:00
|
|
|
wget -q http://ceph.com/qa/linux-4.0.5.tar.xz
|
2012-03-12 19:01:21 +00:00
|
|
|
|
2010-02-26 22:50:54 +00:00
|
|
|
mkdir t
|
|
|
|
cd t
|
2015-06-16 15:13:41 +00:00
|
|
|
tar Jxvf ../linux*.xz
|
2009-11-13 00:44:35 +00:00
|
|
|
cd linux*
|
|
|
|
make defconfig
|
2010-03-08 21:35:56 +00:00
|
|
|
make -j`grep -c processor /proc/cpuinfo`
|
2009-11-13 00:44:35 +00:00
|
|
|
cd ..
|
2011-06-28 18:09:45 +00:00
|
|
|
if ! rm -rv linux* ; then
|
|
|
|
echo "uh oh rm -r failed, it left behind:"
|
|
|
|
find .
|
|
|
|
exit 1
|
|
|
|
fi
|
2010-02-26 22:50:54 +00:00
|
|
|
cd ..
|
2011-06-28 18:09:45 +00:00
|
|
|
rm -rv t linux*
|