cdrom: Rename ISO file

This is cosmetic change to have the name of the ISO file similar to the
flash image and also have all parts of it in a reasonable order.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Reviewed-by: Peter Müller <peter.mueller@ipfire.org>
This commit is contained in:
Michael Tremer
2022-08-11 16:38:17 +00:00
committed by Peter Müller
parent 2b6cb76588
commit fbd0608c2c

View File

@@ -123,6 +123,8 @@ GRUB_EFI_MODULES = \
true \
usb_keyboard
ISO_FILE = /install/images/$(SNAME)-$(VERSION)-core$(CORE)-$(BUILD_ARCH).iso
###############################################################################
# Top-level Rules
###############################################################################
@@ -246,9 +248,8 @@ endif
xargs md5sum > md5sum.txt
mkdir -p /install/images
cd $(DIR_TMP)/cdrom && mkisofs $(ISO_ARGS) \
-o /install/images/$(SNAME)-$(VERSION).$(BUILD_ARCH)-full-core$(CORE).iso .
cd $(DIR_TMP)/cdrom && mkisofs $(ISO_ARGS) -o $(ISO_FILE) .
ifeq "$(HAS_ISOLINUX)" "1"
isohybrid $(ISOHYBRID_ARGS) /install/images/$(SNAME)-$(VERSION).$(BUILD_ARCH)-full-core$(CORE).iso
isohybrid $(ISOHYBRID_ARGS) $(ISO_FILE)
endif