Skip to content
This repository has been archived by the owner on Apr 22, 2024. It is now read-only.

Commit

Permalink
allow multiple output locations
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonN3 committed Feb 19, 2024
1 parent 2290aa6 commit 31b6b39
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
5 changes: 0 additions & 5 deletions .github/workflows/test-iso.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,6 @@ jobs:
version:
- 38
- 39
- 40
include:
- version: 40
web_ui: 'true'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -53,6 +49,5 @@ jobs:
IMAGE_TAG: 'latest'
VARIANT: 'Kinoite'
VERSION: ${{ matrix.version }}
WEB_UI: ${{ matrix.web_ui }}
ACTION_REPO: ${{ github.repository }}
ACTION_REF: ${{ github.ref }}
8 changes: 4 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ endif

# Step 6: Build end ISO file
## Default action
$(IMAGE_NAME)-$(IMAGE_TAG).iso: boot.iso container/$(IMAGE_NAME)-$(IMAGE_TAG) xorriso/input.txt
$(IMAGE_NAME)-$(IMAGE_TAG).iso: output/$(IMAGE_NAME)-$(IMAGE_TAG).iso
mv output/$(IMAGE_NAME)-$(IMAGE_TAG).iso $(IMAGE_NAME)-$(IMAGE_TAG).iso

output/$(IMAGE_NAME)-$(IMAGE_TAG).iso: boot.iso container/$(IMAGE_NAME)-$(IMAGE_TAG) xorriso/input.txt
mkdir $(_BASE_DIR)/output
xorriso -dialog on < $(_BASE_DIR)/xorriso/input.txt

output/$(IMAGE_NAME)-$(IMAGE_TAG).iso: $(IMAGE_NAME)-$(IMAGE_TAG).iso
cp $(IMAGE_NAME)-$(IMAGE_TAG).iso output/$(IMAGE_NAME)-$(IMAGE_TAG).iso

# Step 2: Build boot.iso using Lorax
boot.iso: lorax_templates/set_installer.tmpl lorax_templates/configure_upgrades.tmpl
rm -Rf $(_BASE_DIR)/results
Expand Down

0 comments on commit 31b6b39

Please sign in to comment.