David Caro has uploaded a new change for review.

Change subject: Fixed mock run on cross arch environments
......................................................................

Fixed mock run on cross arch environments

It seems that removing the __db files was not enough, this patch makes sure it
works everywhere.

Change-Id: I78401d45b08bceef4360db95573586ced01e12d9
Signed-off-by: David Caro <[email protected]>
---
M jobs/confs/shell-scripts/mock_install.sh
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.ovirt.org:29418/jenkins refs/changes/98/29298/1

diff --git a/jobs/confs/shell-scripts/mock_install.sh 
b/jobs/confs/shell-scripts/mock_install.sh
index 031c2be..3e0f062 100644
--- a/jobs/confs/shell-scripts/mock_install.sh
+++ b/jobs/confs/shell-scripts/mock_install.sh
@@ -85,6 +85,7 @@
     --no-clean \
     --shell <<EOF
 rm -f /var/lib/rpm/__db*
+rpm --rebuilddb
 EOF
 
 ### Copy the packages to the chroot


-- 
To view, visit http://gerrit.ovirt.org/29298
To unsubscribe, visit http://gerrit.ovirt.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I78401d45b08bceef4360db95573586ced01e12d9
Gerrit-PatchSet: 1
Gerrit-Project: jenkins
Gerrit-Branch: master
Gerrit-Owner: David Caro <[email protected]>
_______________________________________________
Engine-patches mailing list
[email protected]
http://lists.ovirt.org/mailman/listinfo/engine-patches

Reply via email to