1
0
Fork 0
mirror of https://github.com/JasonN3/build-container-installer.git synced 2025-12-25 10:57:55 +01:00

fix: added mv command to makefile

This commit is contained in:
Noel Miller 2024-03-06 01:48:51 -06:00
parent b528b8ab7f
commit f15867f2dc
4 changed files with 3 additions and 4 deletions

View file

@ -9,7 +9,6 @@ ENV IMAGE_TAG="${VERSION}"
ENV VARIANT="Server"
ENV VERSION="${VERSION}"
ENV WEB_UI="false"
ENV ISO_NAME="${IMAGE_NAME}-${IMAGE_TAG}"
RUN mkdir /build-container-installer

View file

@ -12,6 +12,7 @@ ENROLLMENT_PASSWORD =
SECURE_BOOT_KEY_URL =
ADDITIONAL_TEMPLATES =
ROOTFS_SIZE = 4
ISO_NAME = $(IMAGE_NAME)-$(IMAGE_TAG)
# Generated vars
## Formatting = _UPPERCASE
@ -39,6 +40,7 @@ build/deploy.iso: boot.iso container/$(IMAGE_NAME)-$(IMAGE_TAG) xorriso/input.t
mkdir $(_BASE_DIR)/build || true
xorriso -dialog on < $(_BASE_DIR)/xorriso/input.txt
implantisomd5 build/deploy.iso
mv build/deploy.iso build/$(ISO_NAME).iso
# Step 1: Generate Lorax Templates
lorax_templates/post_%.tmpl: lorax_templates/scripts/post/%

View file

@ -14,5 +14,3 @@ make boot.iso $@
# Add container to ISO
make build/deploy.iso $@
mv build/deploy.iso build/${ISO_NAME}.iso