diff options
author | Remi Collet <remi@remirepo.net> | 2018-05-14 08:00:26 +0200 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2018-05-14 08:00:26 +0200 |
commit | ebc7fa49c221f02fb484e1bc4d3dc88ac5aaf374 (patch) | |
tree | 7ecf2c7741dc5785f2bc7642e55a4e4186478404 /mkrepo | |
parent | 755d93fc880316e1a80a400caede068e92dfaf9d (diff) |
workaround for rhbz #1577747
Diffstat (limited to 'mkrepo')
-rwxr-xr-x | mkrepo | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -49,6 +49,9 @@ cache=/home/rpmbuild/site/rpms/.createrepocache/$nom mkdir -p $cache check=sha256 if [ "$dis" == "fedora" -a "$ver" -ge 27 ]; then + # See: https://bugzilla.redhat.com/show_bug.cgi?id=1577747 + echo "+ Nettoyage" + rm -rf repodata echo "+ Génération repodata (createrepo_c, $check)" createrepo_c --workers 4 \ --cachedir $cache \ @@ -56,7 +59,7 @@ if [ "$dis" == "fedora" -a "$ver" -ge 27 ]; then --retain-old-md 1 \ --changelog-limit 3 \ --compress-type=bz2 \ - --database . + --database $(pwd) else echo "+ Génération repodata (createrepo, $check)" createrepo --workers 4 \ |