fixes for ISO placement and other stuff

This commit is contained in:
Louis Abel 2021-11-10 16:23:13 -07:00
parent 59201afb4e
commit bccb90c2fd
Signed by: label
GPG Key ID: B37E62D143879B36
2 changed files with 6 additions and 3 deletions

View File

@ -48,6 +48,7 @@ NONSIG_COMPOSE=(
Extras Extras
Plus Plus
NFV NFV
rockyrpi
) )
declare -A SIG_COMPOSE declare -A SIG_COMPOSE

View File

@ -49,10 +49,12 @@ for ARCH in "${ARCHES[@]}"; do
TARGET_ARCH="${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/${x}/${ARCH}/iso" TARGET_ARCH="${STAGING_ROOT}/${CATEGORY_STUB}/${REV}/${x}/${ARCH}/iso"
mkdir -p "${SOURCE}" "${TARGET}" "${TARGET_ARCH}" mkdir -p "${SOURCE}" "${TARGET}" "${TARGET_ARCH}"
# Copy the ISO and manifests into their target architecture # Copy the ISO and manifests into their target architecture
cp "${SOURCE}/*.iso*" "${TARGET_ARCH}/" cp -n "${SOURCE}"/*.iso "${TARGET_ARCH}/"
cp "${SOURCE}/CHECKSUM" "${TARGET_ARCH}/" cp -n "${SOURCE}"/*.iso.manifest "${TARGET_ARCH}/"
cp -n "${SOURCE}/CHECKSUM" "${TARGET_ARCH}/"
# Copy the ISO and manifests into the main isos target # Copy the ISO and manifests into the main isos target
cp "${SOURCE}/*.iso*" "${TARGET}/" cp "${SOURCE}"/*.iso "${TARGET}/"
cp "${SOURCE}"/*.iso.manifest "${TARGET}/"
cat "${SOURCE}/CHECKSUM" >> "${TARGET}/CHECKSUM" cat "${SOURCE}/CHECKSUM" >> "${TARGET}/CHECKSUM"
done done
done done