On 05/07/2014 03:05 PM, Tomas Babej wrote:

this fixes the problem on builders, which do distro-sync while having
freeipa packages present from previous build run.

This causes unnecessary downgrades., which may result into failures (as
now with the smartproxy pushed).

I've put the 'freeipa-*' in quotes to prevent nasty surprises if there's a freeipa-* file around, and pushed.

Commit e04ddf40c1b3e95c4601393bcca40ed55c1cf27b
Pull from https://github.com/encukou/freeipa-ci


From e04ddf40c1b3e95c4601393bcca40ed55c1cf27b Mon Sep 17 00:00:00 2001
From: Tomas Babej <tomasba...@gmail.com>
Date: Wed, 7 May 2014 15:00:55 +0200
Subject: [PATCH] Remove freeipa packages before distro-sync in build

 jenkins-job-builder/freeipa-jobs.yaml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/jenkins-job-builder/freeipa-jobs.yaml b/jenkins-job-builder/freeipa-jobs.yaml
index 7fbdf12..7d6302d 100644
--- a/jenkins-job-builder/freeipa-jobs.yaml
+++ b/jenkins-job-builder/freeipa-jobs.yaml
@@ -56,6 +56,7 @@
             DEPS="$DEPS redhat-rpm-config rpm-build sed shadow-utils tar unzip"
             DEPS="$DEPS util-linux which xz"
             # install all the RPMs
+            sudo yum erase -y 'freeipa-*'
             sudo yum distro-sync -y --enablerepo updates-testing
             sudo yum install -y rpm-build $DEPS --enablerepo updates-testing
         - shell: "rpm -qa | sort"

Freeipa-devel mailing list

Reply via email to