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

set container to 39

This commit is contained in:
Jason N. 2024-04-01 09:56:29 -04:00
parent a8e3211a23
commit fcd2f92f30
3 changed files with 4 additions and 3 deletions

View file

@ -1,6 +1,6 @@
FROM fedora:40 FROM fedora:39
ARG VERSION=40 ARG VERSION=39
ENV ARCH="x86_64" ENV ARCH="x86_64"
ENV IMAGE_NAME="base" ENV IMAGE_NAME="base"

View file

@ -79,6 +79,7 @@ $(ISO_NAME): results/images/boot.iso container/$(IMAGE_NAME)-$(IMAGE_TAG) xorris
xorriso -dialog on < $(_BASE_DIR)/xorriso/input.txt xorriso -dialog on < $(_BASE_DIR)/xorriso/input.txt
implantisomd5 $(ISO_NAME) implantisomd5 $(ISO_NAME)
chmod ugo=r $(ISO_NAME) chmod ugo=r $(ISO_NAME)
$(if $(GITHUB_OUTPUT), echo "iso_name=$(ISO_NAME)" >> $(GITUHB_OUTPUT))
# Build boot.iso using Lorax # Build boot.iso using Lorax
results/images/boot.iso: external/lorax/branch-$(VERSION) $(filter lorax_templates/%,$(_LORAX_TEMPLATES)) $(_REPO_FILES) results/images/boot.iso: external/lorax/branch-$(VERSION) $(filter lorax_templates/%,$(_LORAX_TEMPLATES)) $(_REPO_FILES)

View file

@ -8,7 +8,7 @@ then
echo "Found:" echo "Found:"
checkisomd5 --md5sumonly ../../${ISO_NAME} checkisomd5 --md5sumonly ../../${ISO_NAME}
echo "Expected:" echo "Expected:"
implantisomd5 --force base-39.iso implantisomd5 --force ../../${ISO_NAME}
fi fi
cd $(dirname ../../${ISO_NAME}) && sha256sum -c $(basename ${ISO_NAME})-CHECKSUM cd $(dirname ../../${ISO_NAME}) && sha256sum -c $(basename ${ISO_NAME})-CHECKSUM