ci: build live ISO with livemedia-creator; add live-desktop recipe
This commit is contained in:
@@ -7,7 +7,7 @@ on:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
FEDORA_VERSION: "44"
|
FEDORA_VERSION: "44"
|
||||||
KICKSTART_FILE: desktop_44_standard_grub_gnome_guest-agents
|
KICKSTART_FILE: live-desktop_44_livefs_grub_gnome_guest-agents_live
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
validate:
|
validate:
|
||||||
@@ -39,6 +39,7 @@ jobs:
|
|||||||
shell: bash
|
shell: bash
|
||||||
container:
|
container:
|
||||||
image: git.phyllo.me/devops/fedora-runner-image:latest
|
image: git.phyllo.me/devops/fedora-runner-image:latest
|
||||||
|
privileged: true
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: https://git.phyllo.me/devops/checkout@v5
|
- uses: https://git.phyllo.me/devops/checkout@v5
|
||||||
@@ -58,7 +59,11 @@ jobs:
|
|||||||
|
|
||||||
- name: Build ISO with livemedia-creator
|
- name: Build ISO with livemedia-creator
|
||||||
run: |
|
run: |
|
||||||
livemedia-creator --ks cook/dishes/${{ env.KICKSTART_FILE }}.cfg --no-virt --resultdir build --project phyllomeos --make-iso --volid phyllomeos --iso-only --iso-name ${{ env.KICKSTART_FILE }}-${{ env.FEDORA_VERSION }}.iso --releasever ${{ env.FEDORA_VERSION }} --macboot
|
for i in $(seq 0 63); do mknod -m 0660 /dev/loop$i b 7 $i 2>/dev/null || true; done
|
||||||
|
mknod -m 0660 /dev/loop-control b 7 0 2>/dev/null || true
|
||||||
|
ks="$(mktemp --suffix=.cfg)"
|
||||||
|
grep -v -E '^(text|cmdline|graphical)([[:space:]]|$)' "cook/dishes/${{ env.KICKSTART_FILE }}.cfg" > "$ks"
|
||||||
|
livemedia-creator --ks "$ks" --no-virt --resultdir build --project phyllomeos --make-iso --volid phyllomeos --iso-only --iso-name ${{ env.KICKSTART_FILE }}-${{ env.FEDORA_VERSION }}.iso --releasever ${{ env.FEDORA_VERSION }} --macboot
|
||||||
|
|
||||||
- name: Upload ISO as artifact
|
- name: Upload ISO as artifact
|
||||||
if: github.ref == 'refs/heads/main'
|
if: github.ref == 'refs/heads/main'
|
||||||
|
|||||||
+5
-1
@@ -8,4 +8,8 @@ build/
|
|||||||
# Python
|
# Python
|
||||||
__pycache__/
|
__pycache__/
|
||||||
*.py[cod]
|
*.py[cod]
|
||||||
.pytest_cache/
|
.pytest_cache/
|
||||||
|
# Build artifacts (livemedia-creator side effects)
|
||||||
|
anaconda/
|
||||||
|
livemedia.log
|
||||||
|
program.log
|
||||||
|
|||||||
@@ -36,6 +36,7 @@ choices:
|
|||||||
standard: storage/standard.ks
|
standard: storage/standard.ks
|
||||||
encrypted: storage/encrypted.ks
|
encrypted: storage/encrypted.ks
|
||||||
biosboot: storage/biosboot.ks
|
biosboot: storage/biosboot.ks
|
||||||
|
livefs: live/core/storage.ks
|
||||||
bootloader:
|
bootloader:
|
||||||
grub: bootloader/grub.ks
|
grub: bootloader/grub.ks
|
||||||
systemd-boot: bootloader/systemd-boot.ks
|
systemd-boot: bootloader/systemd-boot.ks
|
||||||
@@ -71,4 +72,10 @@ features:
|
|||||||
intelcpu: hypervisor/intelcpu.ks
|
intelcpu: hypervisor/intelcpu.ks
|
||||||
intelgpu: hypervisor/intelgpu.ks
|
intelgpu: hypervisor/intelgpu.ks
|
||||||
hardware-support: packages/hardware-support.ks
|
hardware-support: packages/hardware-support.ks
|
||||||
guest-agents: guest-agents/base.ks
|
guest-agents: guest-agents/base.ks
|
||||||
|
live:
|
||||||
|
true:
|
||||||
|
- live/core/base.ks
|
||||||
|
- live/core/packages.ks
|
||||||
|
- live/post/base.ks
|
||||||
|
- live/post/session.ks
|
||||||
@@ -58,4 +58,14 @@ recipes:
|
|||||||
hardware-support: true
|
hardware-support: true
|
||||||
guest-agents: false
|
guest-agents: false
|
||||||
hypervisor: desktop
|
hypervisor: desktop
|
||||||
hypervisor_type: intelcpu
|
hypervisor_type: intelcpu
|
||||||
|
|
||||||
|
# Live desktop ISO variants (built with livemedia-creator --make-iso)
|
||||||
|
- name: live-desktop
|
||||||
|
variants:
|
||||||
|
- repository: "44"
|
||||||
|
desktop: gnome
|
||||||
|
storage: livefs
|
||||||
|
bootloader: grub
|
||||||
|
guest-agents: true
|
||||||
|
live: true
|
||||||
Reference in New Issue
Block a user