mirror of
https://github.com/ceph/ceph
synced 2024-12-24 12:24:19 +00:00
1ea3f47ab8
This should make newer gcc releases happier in their default configuration. kernel.org is now distributing tarballs as .xz files so we change to that as well when decompressing (it is supported by Ubuntu Precise so we should be all good). Fixes: #11758 Signed-off-by: Greg Farnum <gfarnum@redhat.com>
21 lines
295 B
Bash
Executable File
21 lines
295 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
wget -q http://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*
|