From 8c2122deccc642c1469bda8e1d4cfd2567a22467 Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Thu, 16 Nov 2023 15:21:56 -0700 Subject: [PATCH] fix createrepo --- sync/vault-release-no-repodata.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sync/vault-release-no-repodata.sh b/sync/vault-release-no-repodata.sh index 1ae9dda..38b7b28 100644 --- a/sync/vault-release-no-repodata.sh +++ b/sync/vault-release-no-repodata.sh @@ -28,7 +28,7 @@ if [ "$RLVER" -eq "9" ]; then for repo in "${MODS[@]}"; do for arch in "${ARCHES[@]}"; do mkdir -p "${TARGET}/${repo}/${arch}/os/repodata" - cp "${REV}/${repo}/${arch}/os/repodata/*MODULES.yaml.gz" "/tmp/${repo}-${arch}-${DATE}.modules.yaml.gz" + cp "${PRODUCTION_ROOT}/${CATEGORY_STUB}/${REV}/${repo}/${arch}/os/repodata/*MODULES.yaml.gz" "/tmp/${repo}-${arch}-${DATE}.modules.yaml.gz" pushd /tmp || exit 1 gunzip "/tmp/${repo}-${arch}-${DATE}.modules.yaml.gz" popd || exit 1 @@ -38,7 +38,7 @@ if [ "$RLVER" -eq "9" ]; then # groups for repo in "${MODS_REPOS[@]}"; do for arch in "${ARCHES[@]}"; do - createrepo_comps "${TARGET}/${repo}/${arch}/os" "${REV}" "${REV}/${repo}/${arch}/os/repodata/*GROUPS.xml" + createrepo_comps "${TARGET}/${repo}/${arch}/os" "${REV}" "${PRODUCTION_ROOT}/${CATEGORY_STUB}/${REV}/${repo}/${arch}/os/repodata/*GROUPS.xml" done done # no groups