Skip to content

Commit

Permalink
🐛 Set iso name for netboot (#468)
Browse files Browse the repository at this point in the history
Fixes the current issue on main

Signed-off-by: Mauro Morales <[email protected]>
  • Loading branch information
mauromorales authored Jul 27, 2023
1 parent 54532e7 commit e63b3c8
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Earthfile
Original file line number Diff line number Diff line change
Expand Up @@ -226,7 +226,12 @@ iso:
netboot:
FROM opensuse/leap
ARG VERSION
ARG ISO_NAME
IF [ "$TARGETARCH" = "arm64" ]
ARG DISTRO=$(echo $FLAVOR | sed 's/-arm-.*//')
ARG ISO_NAME=${OS_ID}-${VARIANT}-${DISTRO}-${TARGETARCH}-${MODEL}-${VERSION}
ELSE
ARG ISO_NAME=${OS_ID}-${VARIANT}-${FLAVOR}-${TARGETARCH}-${MODEL}-${VERSION}
END
WORKDIR /build
COPY +iso/kairos.iso kairos.iso
COPY . .
Expand Down

0 comments on commit e63b3c8

Please sign in to comment.