2017-07-20 22:26:42 +00:00
|
|
|
#!/usr/bin/env bash
|
2009-11-13 00:44:35 +00:00
|
|
|
|
2023-04-06 02:17:44 +00:00
|
|
|
set -ex
|
2010-04-14 17:08:42 +00:00
|
|
|
|
2023-11-14 10:05:50 +00:00
|
|
|
wget -O linux.tar.xz http://download.ceph.com/qa/linux-6.5.11.tar.xz
|
2012-03-12 19:01:21 +00:00
|
|
|
|
2010-02-26 22:50:54 +00:00
|
|
|
mkdir t
|
|
|
|
cd t
|
2023-11-14 10:05:50 +00:00
|
|
|
tar xJf ../linux.tar.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*
|