From 2742347ecf82d4cd915a96a2a9ef79a7f725e7b8 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Sun, 19 Dec 2021 18:21:38 -0700 Subject: [PATCH 1/2] add workers 8 and remove update --- sync/prep-staging-8.sh | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/sync/prep-staging-8.sh b/sync/prep-staging-8.sh index 8769d57..10becea 100644 --- a/sync/prep-staging-8.sh +++ b/sync/prep-staging-8.sh @@ -21,8 +21,9 @@ for y in "${ALL_REPOS[@]}"; do test -d "${STAGING_ROOT}/${RELEASE_DIR}/${y}/source/tree" ret_val=$? if [ "$ret_val" -eq 0 ]; then - createrepo --update "${STAGING_ROOT}/${RELEASE_DIR}/${y}/source/tree" \ - "--distro=cpe:/o:rocky:rocky:${REVISION:0:1},Rocky Linux ${REVISION:0:1}" + createrepo "${STAGING_ROOT}/${RELEASE_DIR}/${y}/source/tree" \ + "--distro=cpe:/o:rocky:rocky:${REVISION:0:1},Rocky Linux ${REVISION:0:1}" \ + --workers 8 sed -i '/<\/open-size>/d' \ "${STAGING_ROOT}/${RELEASE_DIR}/${y}/source/tree/repodata/repomd.xml" test -f /root/bin/sign-repo.sh && /root/bin/sign-repo.sh \ @@ -44,7 +45,8 @@ for x in "${ARCHES[@]}"; do ret_val=$? if [ "$ret_val" -eq 0 ]; then createrepo --update "${STAGING_ROOT}/${RELEASE_DIR}/${y}/${x}/${z}" \ - "--distro=cpe:/o:rocky:rocky:${REVISION:0:1},Rocky Linux ${REVISION:0:1}" + "--distro=cpe:/o:rocky:rocky:${REVISION:0:1},Rocky Linux ${REVISION:0:1}" \ + --workers 8 sed -i '/<\/open-size>/d' \ "${STAGING_ROOT}/${RELEASE_DIR}/${y}/${x}/${z}/repodata/repomd.xml" test -f /root/bin/sign-repo.sh && /root/bin/sign-repo.sh \ @@ -60,7 +62,8 @@ for x in "${ARCHES[@]}"; do ret_val=$? if [ "$ret_val" -eq 0 ]; then createrepo --update "${STAGING_ROOT}/${RELEASE_DIR}/${y}/${x}/debug/tree" \ - "--distro=cpe:/o:rocky:rocky:${REVISION:0:1},Rocky Linux ${REVISION:0:1}" + "--distro=cpe:/o:rocky:rocky:${REVISION:0:1},Rocky Linux ${REVISION:0:1}" \ + --workers 8 sed -i '/<\/open-size>/d' \ "${STAGING_ROOT}/${RELEASE_DIR}/${y}/${x}/debug/tree/repodata/repomd.xml" test -f /root/bin/sign-repo.sh && /root/bin/sign-repo.sh \ From 97615a3b04e0aa2084abc40492b0b7dcb8a57570 Mon Sep 17 00:00:00 2001 From: nazunalika Date: Fri, 15 Apr 2022 14:32:04 -0700 Subject: [PATCH 2/2] prepping for 8.6 --- sync/common_8 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sync/common_8 b/sync/common_8 index 47a95c8..374c22a 100644 --- a/sync/common_8 +++ b/sync/common_8 @@ -1,7 +1,7 @@ # To be sourced by scripts to use # Revision must always start with a major number -REVISION=8.5 +REVISION=8.6 MAJOR="${REVISION:0:1}" MINOR="${REVISION:2:1}"