From 905ea75ef2382e5bce7a74fc1956a3389d29893f Mon Sep 17 00:00:00 2001 From: Arun Sharma Date: Thu, 7 Mar 2024 03:38:27 +0000 Subject: [PATCH] fix --- Earthfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Earthfile b/Earthfile index aafc4d6..4d20b77 100644 --- a/Earthfile +++ b/Earthfile @@ -172,6 +172,10 @@ build-iso: COPY --platform=linux/${ARCH} --keep-own +iso-image-rootfs/rootfs /build/image COPY --if-exists ui.tar /build/image/opt/spectrocloud/emc/ + RUN if [ -f /build/image/opt/spectrocloud/emc/ui.tar ]; then \ + tar -xf /build/image/opt/spectrocloud/emc/ui.tar -C /build/image/opt/spectrocloud/emc && \ + rm -f /build/image/opt/spectrocloud/emc/ui.tar; \ + fi IF [ "$ARCH" = "arm64" ] RUN /entrypoint.sh --name $ISO_NAME build-iso --date=false --overlay-iso /overlay dir:/build/image --debug --output /iso/ --arch $ARCH