From 4a4708b615f8633d89cfeb7d4f47084dc97bc74e Mon Sep 17 00:00:00 2001 From: Louis Abel Date: Sun, 24 Sep 2023 10:59:53 -0700 Subject: [PATCH] remove unnecessary boot image --- sync/beta-release-sync-to-staging.sh | 4 ++++ sync/lh-release-sync-to-staging.sh | 4 ++++ sync/minor-release-sync-to-staging.sh | 4 ++++ 3 files changed, 12 insertions(+) diff --git a/sync/beta-release-sync-to-staging.sh b/sync/beta-release-sync-to-staging.sh index 5c5e588..e6f7563 100644 --- a/sync/beta-release-sync-to-staging.sh +++ b/sync/beta-release-sync-to-staging.sh @@ -30,6 +30,10 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do # Sort the ISO's for ARCH in "${ARCHES[@]}"; do for x in BaseOS Minimal; do + if [[ "${x}" != "BaseOS" ]]; then + echo "${x} ${ARCH}: Removing unnecessary boot image" + /bin/rm -v "${x}/${ARCH}/iso/"*boot* + fi echo "${x} ${ARCH}: Moving ISO images" mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/" done diff --git a/sync/lh-release-sync-to-staging.sh b/sync/lh-release-sync-to-staging.sh index b092deb..6deff48 100644 --- a/sync/lh-release-sync-to-staging.sh +++ b/sync/lh-release-sync-to-staging.sh @@ -30,6 +30,10 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do # Sort the ISO's for ARCH in "${ARCHES[@]}"; do for x in BaseOS Minimal; do + if [[ "${x}" != "BaseOS" ]]; then + echo "${x} ${ARCH}: Removing unnecessary boot image" + /bin/rm -v "${x}/${ARCH}/iso/"*boot* + fi echo "${x} ${ARCH}: Moving ISO images" mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/" done diff --git a/sync/minor-release-sync-to-staging.sh b/sync/minor-release-sync-to-staging.sh index dd7c2cd..334c68e 100644 --- a/sync/minor-release-sync-to-staging.sh +++ b/sync/minor-release-sync-to-staging.sh @@ -28,6 +28,10 @@ for COMPOSE in "${NONSIG_COMPOSE[@]}"; do # Sort the ISO's for ARCH in "${ARCHES[@]}"; do for x in BaseOS Minimal; do + if [[ "${x}" != "BaseOS" ]]; then + echo "${x} ${ARCH}: Removing unnecessary boot image" + /bin/rm -v "${x}/${ARCH}/iso/"*boot* + fi echo "${x} ${ARCH}: Moving ISO images" mv "${x}/${ARCH}/iso/"* "isos/${ARCH}/" done