mirror of
https://github.com/JasonN3/build-container-installer.git
synced 2025-12-25 10:57:55 +01:00
feat: added sha256 checksum generation
This commit is contained in:
parent
f15867f2dc
commit
87508ad71f
2 changed files with 4 additions and 2 deletions
2
.github/workflows/build-and-test.yml
vendored
2
.github/workflows/build-and-test.yml
vendored
|
|
@ -101,7 +101,7 @@ jobs:
|
|||
uses: actions/upload-artifact@v4
|
||||
with:
|
||||
name: ${{ env.ISO_NAME }}.iso
|
||||
path: ${{ github.workspace}}/${{ env.ISO_NAME }}.iso
|
||||
path: ${{ github.workspace}}/*
|
||||
if-no-files-found: error
|
||||
retention-days: 0
|
||||
compression-level: 0
|
||||
|
|
|
|||
4
Makefile
4
Makefile
|
|
@ -41,6 +41,8 @@ build/deploy.iso: boot.iso container/$(IMAGE_NAME)-$(IMAGE_TAG) xorriso/input.t
|
|||
xorriso -dialog on < $(_BASE_DIR)/xorriso/input.txt
|
||||
implantisomd5 build/deploy.iso
|
||||
mv build/deploy.iso build/$(ISO_NAME).iso
|
||||
cd build
|
||||
sha256sum $(ISO_NAME).iso > $(ISO_NAME)-CHECKSUM
|
||||
|
||||
# Step 1: Generate Lorax Templates
|
||||
lorax_templates/post_%.tmpl: lorax_templates/scripts/post/%
|
||||
|
|
@ -176,7 +178,7 @@ clean:
|
|||
rm -f $(_BASE_DIR)/*.log || true
|
||||
|
||||
install-deps:
|
||||
dnf install -y lorax xorriso skopeo
|
||||
dnf install -y lorax xorriso skopeo coreutils
|
||||
|
||||
test-iso:
|
||||
$(eval _TESTS = $(filter-out README.md,$(shell ls tests/iso)))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue