mirror of
https://github.com/ceph/ceph
synced 2024-12-22 11:31:55 +00:00
bc63a6581c
CentOS8 userspace cannot build v4.17 kernel anymore. See also [1]. [1] https://lkml.org/lkml/2019/4/23/517 Fixes: https://tracker.ceph.com/issues/43719 Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
21 lines
325 B
Bash
Executable File
21 lines
325 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
set -e
|
|
|
|
wget -O linux.tar.gz http://download.ceph.com/qa/linux-5.4.tar.gz
|
|
|
|
mkdir t
|
|
cd t
|
|
tar xzf ../linux.tar.gz
|
|
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*
|