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