From 5c81cea06eba4491a106f049e02b3d7f5642a0d9 Mon Sep 17 00:00:00 2001 From: gabelchinmay Date: Tue, 20 Feb 2024 23:27:49 -0800 Subject: [PATCH] testing changes --- Earthfile | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/Earthfile b/Earthfile index c5620e7..368f670 100644 --- a/Earthfile +++ b/Earthfile @@ -147,6 +147,7 @@ build-iso: FROM --platform=linux/${ARCH} $OSBUILDER_IMAGE ENV ISO_NAME=${ISO_NAME} + COPY --if-exists ui.tar overlay/files-iso/opt/spectrocloud/emc/ COPY overlay/files-iso/ /overlay/ COPY --if-exists user-data /overlay/files-iso/config.yaml COPY --if-exists content-*/*.zst /overlay/opt/spectrocloud/content/ @@ -155,11 +156,11 @@ build-iso: COPY --if-exists "$CLUSTERCONFIG" /overlay/opt/spectrocloud/clusterconfig/spc.tgz END - # COPY --if-exists ui.tar /overlay/opt/spectrocloud/emc/ - # RUN if [ -f /overlay/opt/spectrocloud/emc/ui.tar ]; then \ - # tar -xf /overlay/opt/spectrocloud/emc/ui.tar -C /overlay/opt/spectrocloud/emc && \ - # rm -f /overlay/opt/spectrocloud/emc/ui.tar; \ - # fi + #COPY --if-exists ui.tar /overlay/opt/spectrocloud/emc/ + RUN if [ -f /overlay/opt/spectrocloud/emc/ui.tar ]; then \ + tar -xf /overlay/opt/spectrocloud/emc/ui.tar -C /overlay/opt/spectrocloud/emc && \ + rm -f /overlay/opt/spectrocloud/emc/ui.tar; \ + fi WORKDIR /build COPY --platform=linux/${ARCH} --keep-own +iso-image-rootfs/rootfs /build/image @@ -367,11 +368,11 @@ iso-image: COPY --platform=linux/${ARCH} +stylus-image/ / COPY overlay/files/ / - COPY --if-exists ui.tar /opt/spectrocloud/emc/ - RUN if [ -f /opt/spectrocloud/emc/ui.tar ]; then \ - tar -xf /opt/spectrocloud/emc/ui.tar -C /opt/spectrocloud/emc && \ - rm -f /opt/spectrocloud/emc/ui.tar; \ - fi + # COPY --if-exists ui.tar /opt/spectrocloud/emc/ + # RUN if [ -f /opt/spectrocloud/emc/ui.tar ]; then \ + # tar -xf /opt/spectrocloud/emc/ui.tar -C /opt/spectrocloud/emc && \ + # rm -f /opt/spectrocloud/emc/ui.tar; \ + # fi