From a1e49de8d601f929202ab352d7fc9fedd564284b Mon Sep 17 00:00:00 2001 From: Kevin Fenzi Date: Thu, 22 Aug 2019 22:47:16 +0000 Subject: [PATCH] bodhi / backend: try and move epel8 to use xz repodata compression. Signed-off-by: Kevin Fenzi --- roles/bodhi2/backend/templates/pungi.rpm.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 index 2c08860b35..93638c4ef2 100644 --- a/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 +++ b/roles/bodhi2/backend/templates/pungi.rpm.conf.j2 @@ -73,6 +73,11 @@ createrepo_database = True [% if release.version_int >= 30 %] createrepo_extra_args = ['--zck', '--zck-dict-dir=/usr/share/fedora-repo-zdicts/f[[ release.version_int ]]'] [% endif %] +# For epel8 we want to use xz compression for repodata +# https://pagure.io/epel/issue/71 +[% if release.version_int == 8 %] +createrepo_extra_args = ['--xz'] +[% endif %] # CHECKSUMS media_checksums = ['sha256']