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

create boot.iso with lorax

This commit is contained in:
Jason N. 2024-02-12 18:23:05 +00:00
parent 1db7f92834
commit 9760bf4722

View file

@ -22,8 +22,7 @@ jobs:
- name: Install Tools - name: Install Tools
run: | run: |
dnf install -y \ dnf install -y \
livecd-tools \ lorax \
pykickstart \
git git
- name: Checkout repository - name: Checkout repository
@ -31,24 +30,17 @@ jobs:
with: with:
submodules: recursive submodules: recursive
- name: Flatten Kickstart file - name: Create boot.iso
env:
version: "39"
run: | run: |
ksflatten \ lorax -p Fedora -v $version -r $version -s http://dl.fedoraproject.org/pub/fedora/linux/releases/$version/Everything/x86_64/os/ ./results/
-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
- name: Upload ISO as Artifact - name: Upload ISO as Artifact
uses: actions/upload-artifact@v4 uses: actions/upload-artifact@v4
with: with:
name: Fedora-LiveCD.iso name: Fedora-LiveCD.iso
path: Fedora-LiveCD.iso path: results/boot.iso
if-no-files-found: error if-no-files-found: error
retention-days: 0 retention-days: 0
compression-level: 0 compression-level: 0