From: Michael Tremer Date: Fri, 24 Jan 2025 14:46:07 +0000 (+0000) Subject: jenkins: Ensure we use libcurl on Debian Bookworm X-Git-Tag: 0.9.30~385 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bdbd9a88a63f5971198fb27a758b7a607c7f8c2c;p=pakfire.git jenkins: Ensure we use libcurl on Debian Bookworm apt-get build-dep does not seem to care about our local preferences which is why we afterwards have to force-install the correct packages. Signed-off-by: Michael Tremer --- diff --git a/Jenkinsfile b/Jenkinsfile index c8752ecf..ade0c580 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -320,6 +320,16 @@ pipeline { steps { // Install all build dependencies sh "apt-get build-dep -y -a${env.ARCH} ." + + // On Debian Bookworm, ensure we are using libcurl from backports + script { + if (env.IMAGE.contains("bookworm")) { + sh """ + apt-get install -y \ + libcurl4-openssl-dev/${env.IMAGE} + """ + } + } } }