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
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