summaryrefslogtreecommitdiff
path: root/ci
diff options
context:
space:
mode:
authorJonathan Lebon <jonathan@jlebon.com>2018-04-19 10:16:35 -0400
committerAtomic Bot <atomic-devel@projectatomic.io>2018-04-23 18:04:14 +0000
commitc0c9cfdb9d33da671a47d32ba67a0915604152c0 (patch)
treed65f6bdda7d172677105b730ae332c79d48f74d2 /ci
parent8073905ca5a772e9f9deb287b03c4114e8729b64 (diff)
downloadostree-c0c9cfdb9d33da671a47d32ba67a0915604152c0.tar.gz
ci: Temporary libgcrypt workaround for older kernels
I'm trying to get ostree tests to pass in OpenShift as part of our CI move but I've been seeing lots of failures related to GPG tests. It finally turned out to be because libgcrypt doesn't behave well on older kernels that don't have `getrandom()` (the cluster is running on RHEL7). Thankfully, there's a new build with a fix for this. Pull that in manually until it gets into stable. For more information, see: https://bugzilla.redhat.com/show_bug.cgi?id=1542453 Closes: #1547 Approved by: cgwalters
Diffstat (limited to 'ci')
-rw-r--r--ci/libpaprci/libbuild.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/ci/libpaprci/libbuild.sh b/ci/libpaprci/libbuild.sh
index 9ad417b2..62dc2b29 100644
--- a/ci/libpaprci/libbuild.sh
+++ b/ci/libpaprci/libbuild.sh
@@ -66,6 +66,10 @@ pkg_builddep() {
if rpm -q gpgme | grep -q gpgme-1.9.0-6.fc27; then
dnf install -y https://kojipkgs.fedoraproject.org//packages/gpgme/1.10.0/4.fc27/x86_64/{gpgme{,-devel},python{2,3}-gpg}-1.10.0-4.fc27.x86_64.rpm
fi
+ # https://bugzilla.redhat.com/show_bug.cgi?id=1542453
+ if rpm -q libgcrypt | grep -q libgcrypt-1.8.2-1.fc27; then
+ dnf install -y https://kojipkgs.fedoraproject.org//packages/libgcrypt/1.8.2/2.fc27/x86_64/libgcrypt-1.8.2-2.fc27.x86_64.rpm
+ fi
else
yum-builddep -y "$@"
fi