Skip to content

Commit

Permalink
fix validate
Browse files Browse the repository at this point in the history
Signed-off-by: Nianyu Shen <[email protected]>
  • Loading branch information
nianyush committed Jul 25, 2024
1 parent df67542 commit 8c76347
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,8 @@ build-uki-iso:
FROM --platform=linux/${ARCH} $OSBUILDER_IMAGE
ENV ISO_NAME=${ISO_NAME}
COPY overlay/files-iso/ /overlay/
COPY --if-exists +validate-user-data/user-data /overlay/config.yaml
# COPY --if-exists +validate-user-data/user-data /overlay/config.yaml
COPY --if-exists user-data /overlay/config.yaml
COPY --platform=linux/${ARCH} +stylus-image-pack/stylus-image.tar /overlay/stylus-image.tar
COPY --platform=linux/${ARCH} +luet/luet /overlay/luet

Expand Down Expand Up @@ -457,7 +458,8 @@ build-iso:
FROM --platform=linux/${ARCH} $OSBUILDER_IMAGE
ENV ISO_NAME=${ISO_NAME}
COPY overlay/files-iso/ /overlay/
COPY --if-exists +validate-user-data/user-data /overlay/files-iso/config.yaml
# COPY --if-exists +validate-user-data/user-data /overlay/files-iso/config.yaml
COPY --if-exists user-data /overlay/files-iso/config.yaml
COPY --if-exists content-*/*.zst /overlay/opt/spectrocloud/content/
COPY --if-exists "$EDGE_CUSTOM_CONFIG" /overlay/.edge_custom_config.yaml
RUN if [ -n "$(ls /overlay/opt/spectrocloud/content/*.zst 2>/dev/null)" ]; then \
Expand Down

0 comments on commit 8c76347

Please sign in to comment.