From de56ad0817465e7671366c040c112ce090423032 Mon Sep 17 00:00:00 2001 From: Karel Srot Date: Mon, 31 Jul 2023 14:59:39 +0200 Subject: [PATCH] remove any previously built keylime artifacts --- setup/generate_coverage_report/test.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/generate_coverage_report/test.sh b/setup/generate_coverage_report/test.sh index 12ad1e15..6b85d62b 100755 --- a/setup/generate_coverage_report/test.sh +++ b/setup/generate_coverage_report/test.sh @@ -153,6 +153,8 @@ elif [ -n "${BASELINE_KEYLIME_RPM}" ]; then rlRun "TmpDir=\$( mktemp -d )" rlRun "pushd ${TmpDir}" + # remove any previously built keylime artifacts + rlRun "rm -rf ~/rpmbuild/BUILD/keylime*" rlRun "mkdir sources" rlRpmDownload --source ${BASELINE_KEYLIME_RPM} rlRun "rpm -i keylime-*src.rpm"