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).

Tomas Babej
Associate Software Engineer | Red Hat | Identity Management
RHCE | Brno Site | IRC: tbabej | freeipa.org 

>From 04e8a3d05bb3afe2c0ddd909af12383e40fb1f2e 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 69bb7913d9c1f668d2e699e4cc38dd8ca9de1d0e..6208a9faff13a557364b0000a08d1df32d26edc9 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