mirror of
https://github.com/ceph/ceph
synced 2024-12-24 04:14:07 +00:00
d4d65fbd6a
Signed-off-by: Sage Weil <sage@redhat.com>
21 lines
304 B
Bash
Executable File
21 lines
304 B
Bash
Executable File
#!/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*
|