ci: drop BDB1539 workaround

This shouldn't be an issue anymore.

Closes: #1553
Approved by: cgwalters
This commit is contained in:
Jonathan Lebon 2018-04-23 13:36:38 -04:00 committed by Atomic Bot
parent 8cfef187c5
commit 01ea9a12e4
1 changed files with 1 additions and 12 deletions

View File

@ -6,18 +6,7 @@ OS_ID=$(. /etc/os-release; echo $ID)
OS_VERSION_ID=$(. /etc/os-release; echo $VERSION_ID) OS_VERSION_ID=$(. /etc/os-release; echo $VERSION_ID)
pkg_upgrade() { pkg_upgrade() {
# https://bugzilla.redhat.com/show_bug.cgi?id=1483553 yum -y distro-sync
local ecode=0
yum -y distro-sync 2>err.txt || ecode=$?
if test ${ecode} '!=' 0 && grep -q -F -e "BDB1539 Build signature doesn't match environment" err.txt; then
rpm --rebuilddb
yum -y distro-sync
else
if test ${ecode} '!=' 0; then
cat err.txt
exit ${ecode}
fi
fi
} }
make() { make() {