ceph/qa/workunits/kernel_untar_build.sh
Milind Changire b150e935e8
qa: run kernel_untar_build with newer tarball
Replace old tarball link with a url link to linux-6.5.11.tar.xz.

Fixes: https://tracker.ceph.com/issues/57655
Signed-off-by: Milind Changire <mchangir@redhat.com>
2023-11-14 15:35:50 +05:30

21 lines
329 B
Bash
Executable File

#!/usr/bin/env bash
set -ex
wget -O linux.tar.xz http://download.ceph.com/qa/linux-6.5.11.tar.xz
mkdir t
cd t
tar xJf ../linux.tar.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*