From 703ccad1009025567012b1e878560c996d649b1e Mon Sep 17 00:00:00 2001 From: nazunalika Date: Tue, 14 Sep 2021 08:52:12 -0700 Subject: [PATCH] kickstart --- sync/sign-repos-only.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/sync/sign-repos-only.sh b/sync/sign-repos-only.sh index e2d5411..2029428 100644 --- a/sync/sign-repos-only.sh +++ b/sync/sign-repos-only.sh @@ -23,7 +23,7 @@ for x in "${ARCHES[@]}"; do # regular repos, no comps for y in "${NONMODS_REPOS[@]}"; do # os and debug/tree directories - for z in os debug/tree; do + for z in os debug/tree kickstart; do test -d "${STAGING_ROOT}/${RELEASE_DIR}/${y}/${x}/${z}" ret_val=$? if [ "$ret_val" -eq 0 ]; then @@ -58,6 +58,8 @@ for x in "${ARCHES[@]}"; do if [ "$ret_val" -eq 0 ]; then sed -i '/<\/open-size>/d' \ "${STAGING_ROOT}/${RELEASE_DIR}/${y}/${x}/os/repodata/repomd.xml" + sed -i '/<\/open-size>/d' \ + "${STAGING_ROOT}/${RELEASE_DIR}/${y}/${x}/kickstart/repodata/repomd.xml" test -f /root/bin/sign-repo.sh && /root/bin/sign-repo.sh \ "${STAGING_ROOT}/${RELEASE_DIR}/${y}/${x}/os/repodata/repomd.xml" else @@ -72,6 +74,8 @@ for x in "${ARCHES[@]}"; do if [ "$ret_val" -eq 0 ]; then sed -i '/<\/open-size>/d' \ "${STAGING_ROOT}/${RELEASE_DIR}/${y}/${x}/os/repodata/repomd.xml" + sed -i '/<\/open-size>/d' \ + "${STAGING_ROOT}/${RELEASE_DIR}/${y}/${x}/kickstart/repodata/repomd.xml" # This might not be necessary, but it does not hurt incase repomd is modified test -f /root/bin/sign-repo.sh && /root/bin/sign-repo.sh \ "${STAGING_ROOT}/${RELEASE_DIR}/${y}/${x}/os/repodata/repomd.xml"