]> git.ipfire.org Git - pakfire.git/commitdiff
jenkins: Ensure the keyring is up to date on Archlinux
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Mar 2025 17:15:17 +0000 (17:15 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Mar 2025 17:32:07 +0000 (17:32 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index 01f1ec952f5fa9bf204b1fea355bc8c056eb833a..40791e222f6fbfa399b198cd6b944caab0071ca6 100644 (file)
@@ -642,7 +642,10 @@ def installBuildDepsRedHat(distro, compier) {
 
 // Installs everything we need on Arch Linux
 def installBuildDepsArchLinux(distro, compiler) {
-       sh "pacman -Syu --noconfirm"
+       // Ensure that the keyring is always up to date
+       sh "pacman -Sy --needed --noconfirm archlinux-keyring"
+
+       // Install packages
        sh """
                pacman -Sy \
                        --needed \