ci: Drop BDB1539 hack
This shouldn't be needed anymore. Closes: #1365 Approved by: cgwalters
This commit is contained in:
parent
b03b6a2057
commit
169fab6f4f
@ -1,18 +1,7 @@
|
||||
#!/usr/bin/bash
|
||||
|
||||
pkg_upgrade() {
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=1483553
|
||||
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
|
||||
yum -y distro-sync
|
||||
}
|
||||
|
||||
make() {
|
||||
|
Loading…
Reference in New Issue
Block a user