From 9760bf4722d9cb850739c57b32b9088dd63f9f88 Mon Sep 17 00:00:00 2001 From: "Jason N." <33561705+JasonN3@users.noreply.github.com> Date: Mon, 12 Feb 2024 18:23:05 +0000 Subject: [PATCH] create boot.iso with lorax --- .github/workflows/iso.yml | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/.github/workflows/iso.yml b/.github/workflows/iso.yml index 4ee5ff3..d57a6be 100644 --- a/.github/workflows/iso.yml +++ b/.github/workflows/iso.yml @@ -22,8 +22,7 @@ jobs: - name: Install Tools run: | dnf install -y \ - livecd-tools \ - pykickstart \ + lorax \ git - name: Checkout repository @@ -31,24 +30,17 @@ jobs: with: submodules: recursive - - name: Flatten Kickstart file + - name: Create boot.iso + env: + version: "39" run: | - ksflatten \ - -c kickstart.ks \ - -o kickstart-flat.ks - - - name: Create ISO - run: | - livecd-creator --verbose \ - --config=kickstart-flat.ks \ - --fslabel=Fedora-LiveCD \ - --cache =/var/cache/live + lorax -p Fedora -v $version -r $version -s http://dl.fedoraproject.org/pub/fedora/linux/releases/$version/Everything/x86_64/os/ ./results/ - name: Upload ISO as Artifact uses: actions/upload-artifact@v4 with: name: Fedora-LiveCD.iso - path: Fedora-LiveCD.iso + path: results/boot.iso if-no-files-found: error retention-days: 0 compression-level: 0