From 78c81051c970d1241dd5b35a4cd82bd67ec3f325 Mon Sep 17 00:00:00 2001 From: Patrick Donnelly Date: Mon, 6 Aug 2018 18:33:40 -0700 Subject: [PATCH] qa: use recent kernel to kernel build testing Fixes: http://tracker.ceph.com/issues/24679 Signed-off-by: Patrick Donnelly (cherry picked from commit f0fe0936e64dde2be7139340489960b9635316c2) Conflicts: qa/cephfs/begin.yaml : Resolved for extra_system_packages (cherry picked from commit 1cf09acdca619407c8d3438049138a42fb845d70) --- qa/cephfs/begin.yaml | 4 ++++ qa/workunits/kernel_untar_build.sh | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/qa/cephfs/begin.yaml b/qa/cephfs/begin.yaml index 9829253795a5e..dee64f0af9d49 100644 --- a/qa/cephfs/begin.yaml +++ b/qa/cephfs/begin.yaml @@ -2,4 +2,8 @@ tasks: - install: extra_packages: - python3-cephfs + # For kernel_untar_build workunit + extra_system_packages: + deb: ['bison', 'flex', 'libelf-dev', 'libssl-dev'] + rpm: ['bison', 'flex', 'elfutils-libelf-devel', 'openssl-devel'] - ceph: diff --git a/qa/workunits/kernel_untar_build.sh b/qa/workunits/kernel_untar_build.sh index 93fee1f5b3e1b..a392b42f61cbb 100755 --- a/qa/workunits/kernel_untar_build.sh +++ b/qa/workunits/kernel_untar_build.sh @@ -2,11 +2,11 @@ set -e -wget -q http://download.ceph.com/qa/linux-4.0.5.tar.xz +wget -O linux.tar.gz http://download.ceph.com/qa/linux-4.17.tar.gz mkdir t cd t -tar Jxvf ../linux*.xz +tar xzf ../linux.tar.gz cd linux* make defconfig make -j`grep -c processor /proc/cpuinfo` -- 2.39.5