summaryrefslogtreecommitdiffstats
path: root/mkrepo
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2023-11-16 21:26:06 +0100
committerRemi Collet <remi@php.net>2023-11-16 21:26:06 +0100
commit83ed115aa274a7c78ecc73aab0c5a0fa4fb061fc (patch)
tree003600107badad1636fb17c55407f52f43136143 /mkrepo
parent657537ca5c20a5834e458cf38d2ff8bb6ab8a73d (diff)
only bz2 for repodata
Diffstat (limited to 'mkrepo')
-rwxr-xr-xmkrepo15
1 files changed, 2 insertions, 13 deletions
diff --git a/mkrepo b/mkrepo
index ebe6d49..e79f86d 100755
--- a/mkrepo
+++ b/mkrepo
@@ -87,7 +87,6 @@ cache=/home/rpmbuild/site/rpms/.createrepocache/$nom
mkdir -p $cache
check=sha256
#if [ "$dis" == "fedora" -a "$ver" -ge 99 ]; then
-if true; then
cleanoldmeta repodata
echo "+ Génération repodata (createrepo_c, $check)"
createrepo_c --workers 12 \
@@ -96,20 +95,10 @@ if true; then
--retain-old-md 8 \
--changelog-limit 3 \
--compress-type=bz2 \
+ --general-compress-type=bz2 \
--quiet \
--database $(pwd)
-else
- cleanoldmeta repodata
- echo "+ Génération repodata (createrepo, $check)"
- createrepo --workers 12 \
- --cachedir $cache \
- --checksum $check \
- --unique-md-filenames \
- --retain-old-md 8 \
- --changelog-limit 3 \
- --compress-type=bz2 \
- --database .
-fi
+#fi
rm -f repodata/repomd.xml.asc
gpg --armor --detach-sign --default-key "$GPG_NAME" --homedir "$GPG_PATH" repodata/repomd.xml