]> git.ipfire.org Git - pakfire.git/commitdiff
jenkins: Always install all updates before trying to install any packages
authorMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Mar 2025 17:33:42 +0000 (17:33 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Sun, 30 Mar 2025 17:33:42 +0000 (17:33 +0000)
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Jenkinsfile

index 40791e222f6fbfa399b198cd6b944caab0071ca6..82e99c72fcb0fe885f86488bd0f1530bf813ddf4 100644 (file)
@@ -645,6 +645,9 @@ def installBuildDepsArchLinux(distro, compiler) {
        // Ensure that the keyring is always up to date
        sh "pacman -Sy --needed --noconfirm archlinux-keyring"
 
+       // Install all updates, because pacman isn't very smart
+       sh "pacman -Syu --needed --noconfirm"
+
        // Install packages
        sh """
                pacman -Sy \