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:
parent
b528b8ab7f
commit
f15867f2dc
4 changed files with 3 additions and 4 deletions
|
|
@ -9,7 +9,6 @@ ENV IMAGE_TAG="${VERSION}"
|
||||||
ENV VARIANT="Server"
|
ENV VARIANT="Server"
|
||||||
ENV VERSION="${VERSION}"
|
ENV VERSION="${VERSION}"
|
||||||
ENV WEB_UI="false"
|
ENV WEB_UI="false"
|
||||||
ENV ISO_NAME="${IMAGE_NAME}-${IMAGE_TAG}"
|
|
||||||
|
|
||||||
RUN mkdir /build-container-installer
|
RUN mkdir /build-container-installer
|
||||||
|
|
||||||
|
|
|
||||||
2
Makefile
2
Makefile
|
|
@ -12,6 +12,7 @@ ENROLLMENT_PASSWORD =
|
||||||
SECURE_BOOT_KEY_URL =
|
SECURE_BOOT_KEY_URL =
|
||||||
ADDITIONAL_TEMPLATES =
|
ADDITIONAL_TEMPLATES =
|
||||||
ROOTFS_SIZE = 4
|
ROOTFS_SIZE = 4
|
||||||
|
ISO_NAME = $(IMAGE_NAME)-$(IMAGE_TAG)
|
||||||
|
|
||||||
# Generated vars
|
# Generated vars
|
||||||
## Formatting = _UPPERCASE
|
## Formatting = _UPPERCASE
|
||||||
|
|
@ -39,6 +40,7 @@ build/deploy.iso: boot.iso container/$(IMAGE_NAME)-$(IMAGE_TAG) xorriso/input.t
|
||||||
mkdir $(_BASE_DIR)/build || true
|
mkdir $(_BASE_DIR)/build || true
|
||||||
xorriso -dialog on < $(_BASE_DIR)/xorriso/input.txt
|
xorriso -dialog on < $(_BASE_DIR)/xorriso/input.txt
|
||||||
implantisomd5 build/deploy.iso
|
implantisomd5 build/deploy.iso
|
||||||
|
mv build/deploy.iso build/$(ISO_NAME).iso
|
||||||
|
|
||||||
# Step 1: Generate Lorax Templates
|
# Step 1: Generate Lorax Templates
|
||||||
lorax_templates/post_%.tmpl: lorax_templates/scripts/post/%
|
lorax_templates/post_%.tmpl: lorax_templates/scripts/post/%
|
||||||
|
|
|
||||||
|
|
@ -14,5 +14,3 @@ make boot.iso $@
|
||||||
|
|
||||||
# Add container to ISO
|
# Add container to ISO
|
||||||
make build/deploy.iso $@
|
make build/deploy.iso $@
|
||||||
|
|
||||||
mv build/deploy.iso build/${ISO_NAME}.iso
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue