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 <michael.tremer@ipfire.org>
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}
+ """
+ }
+ }
}
}