]> git.proxmox.com Git - ceph.git/blame - ceph/qa/workunits/kernel_untar_build.sh
bump version to 18.2.2-pve1
[ceph.git] / ceph / qa / workunits / kernel_untar_build.sh
CommitLineData
11fdf7f2 1#!/usr/bin/env bash
7c673cae
FG
2
3set -e
4
9f95a23c 5wget -O linux.tar.gz http://download.ceph.com/qa/linux-5.4.tar.gz
7c673cae
FG
6
7mkdir t
8cd t
11fdf7f2 9tar xzf ../linux.tar.gz
7c673cae
FG
10cd linux*
11make defconfig
12make -j`grep -c processor /proc/cpuinfo`
13cd ..
14if ! rm -rv linux* ; then
15 echo "uh oh rm -r failed, it left behind:"
16 find .
17 exit 1
18fi
19cd ..
20rm -rv t linux*