diff options
| author | Jesse Keating <jkeating@redhat.com> | 2008-08-19 14:27:23 -0400 |
|---|---|---|
| committer | Jesse Keating <jkeating@redhat.com> | 2008-08-19 14:27:23 -0400 |
| commit | 2e2b582f174438e50b5371e745473eb8d8158921 (patch) | |
| tree | a1895b3bed526c4991a82770f3725579b8e48e7a /scripts | |
| parent | be4e55d789be7840bbaf53fb4e57b021b42461e5 (diff) | |
| download | releng-2e2b582f174438e50b5371e745473eb8d8158921.tar.gz releng-2e2b582f174438e50b5371e745473eb8d8158921.tar.xz releng-2e2b582f174438e50b5371e745473eb8d8158921.zip | |
Clean out rpmdb caches to avoid db mismatches in the chroot
Diffstat (limited to 'scripts')
| -rwxr-xr-x | scripts/buildrawhide | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/buildrawhide b/scripts/buildrawhide index 8033ff9..3038d4b 100755 --- a/scripts/buildrawhide +++ b/scripts/buildrawhide @@ -32,6 +32,8 @@ mock -r $MOCKCONFIG --chroot "mash -o /mnt/koji/mash/rawhide-$DATE --compsfile / if [ -n "\$OLD" ] then + # clean out the rpmdb cache first to save a mismatch error + mock -r $MOCKCONFIG --chroot "rm -f /var/lib/rpm/__db*" mock -r $MOCKCONFIG --chroot "/usr/bin/repodiff -q --new=file:///mnt/koji/mash/rawhide-$DATE/development/source/SRPMS --old=file://\$OLD/development/source/SRPMS > /mnt/koji/mash/rawhide-$DATE/logs/repodiff" fi |
