fix up NFV a bit

This commit is contained in:
Louis Abel 2022-05-12 00:18:34 -07:00
parent a63e0d832e
commit 671a02d60c
Signed by: label
GPG Key ID: B37E62D143879B36
2 changed files with 12 additions and 1 deletions

View File

@ -22,11 +22,15 @@ RELEASE_DIR="${CATEGORY_STUB}/${REVISION}${APPEND_TO_DIR}"
NONMODS_REPOS=( NONMODS_REPOS=(
Extras Extras
Devel Devel
nfv
plus plus
rockyrpi rockyrpi
) )
# These repos were originally separate from the main compose and need symlinks
LINK_REPOS=(
[NFV]="nfv"
)
# These repos have comps/groups, except for debuginfo and sources # These repos have comps/groups, except for debuginfo and sources
MODS_REPOS=( MODS_REPOS=(
BaseOS BaseOS
@ -35,6 +39,7 @@ MODS_REPOS=(
ResilientStorage ResilientStorage
PowerTools PowerTools
RT RT
NFV
) )
ALL_REPOS=( ALL_REPOS=(

View File

@ -41,6 +41,12 @@ for SIG in "${!SIG_COMPOSE[@]}"; do
{} "${TARGET}" {} "${TARGET}"
done done
# Create symlinks for repos that were once separate from the main compose
for LINK in "${LINK_REPOS[@]}"; do
ln -sr "${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/${LINK}" \
"${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/${LINK_REPOS[$LINK]}"
done
# copy around the ISOs a bit, make things comfortable # copy around the ISOs a bit, make things comfortable
for ARCH in "${ARCHES[@]}"; do for ARCH in "${ARCHES[@]}"; do
TARGET="${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/isos/${ARCH}" TARGET="${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/isos/${ARCH}"