From 0aebb8f634fafbb79bcfa4980679da05e626e51d Mon Sep 17 00:00:00 2001 From: humocs-man <251756307+humocs-man@users.noreply.github.com> Date: Sun, 8 Mar 2026 16:25:59 +0100 Subject: [PATCH] Titanoboa setup refined --- .github/workflows/Build Live ISO | 1 + iso/enable_anaconda.sh | 35 ++++++++++++++++++++------------ 2 files changed, 23 insertions(+), 13 deletions(-) diff --git a/.github/workflows/Build Live ISO b/.github/workflows/Build Live ISO index 8869845..e9b3bbe 100644 --- a/.github/workflows/Build Live ISO +++ b/.github/workflows/Build Live ISO @@ -22,6 +22,7 @@ jobs: image-ref: ghcr.io/${{ github.repository }}:stable builder-distro: fedora hook-post-rootfs: ${{ github.workspace }}/iso/enable_anaconda.sh + kargs: "boot=live inst.live" - name: Rename + checksum run: | diff --git a/iso/enable_anaconda.sh b/iso/enable_anaconda.sh index 459c9a0..86a28d7 100755 --- a/iso/enable_anaconda.sh +++ b/iso/enable_anaconda.sh @@ -1,23 +1,32 @@ #!/usr/bin/env bash set -euo pipefail -# Läuft im ISO-Rootfs während Titanoboa-Build - +# ------------------------------------------------------------ +# Minimal notwendige Installer-Komponenten +# ------------------------------------------------------------ dnf -y install \ anaconda \ - anaconda-live \ - anaconda-install-env-deps \ - anaconda-dracut \ pykickstart \ lorax-templates-generic \ || true -# Anaconda als Install-UI im Live-System verfügbar machen -mkdir -p /etc/anaconda/profile.d -cat >/etc/anaconda/profile.d/custom.conf <<'EOF' -[Profile] -profile_id = custom -os_id = custom -efi_dir = fedora -menu_auto_hide = True +# ------------------------------------------------------------ +# Installer-Launcher (nur Live-System) +# ------------------------------------------------------------ +cat >/usr/share/applications/install-to-disk.desktop <<'EOF' +[Desktop Entry] +Name=Install to Disk +Comment=Install this system to your computer +Exec=anaconda --liveinst +Icon=system-installer +Terminal=false +Type=Application +Categories=System; EOF + +# ------------------------------------------------------------ +# Nur im Live-System behalten +# ------------------------------------------------------------ +if ! grep -q 'boot=live' /proc/cmdline; then + rm -f /usr/share/applications/install-to-disk.desktop +fi