Titanoboa setup refined

This commit is contained in:
humocs-man
2026-03-08 16:25:59 +01:00
parent 70904bb72e
commit 0aebb8f634
2 changed files with 23 additions and 13 deletions
+1
View File
@@ -22,6 +22,7 @@ jobs:
image-ref: ghcr.io/${{ github.repository }}:stable image-ref: ghcr.io/${{ github.repository }}:stable
builder-distro: fedora builder-distro: fedora
hook-post-rootfs: ${{ github.workspace }}/iso/enable_anaconda.sh hook-post-rootfs: ${{ github.workspace }}/iso/enable_anaconda.sh
kargs: "boot=live inst.live"
- name: Rename + checksum - name: Rename + checksum
run: | run: |
+22 -13
View File
@@ -1,23 +1,32 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -euo pipefail set -euo pipefail
# Läuft im ISO-Rootfs während Titanoboa-Build # ------------------------------------------------------------
# Minimal notwendige Installer-Komponenten
# ------------------------------------------------------------
dnf -y install \ dnf -y install \
anaconda \ anaconda \
anaconda-live \
anaconda-install-env-deps \
anaconda-dracut \
pykickstart \ pykickstart \
lorax-templates-generic \ lorax-templates-generic \
|| true || true
# Anaconda als Install-UI im Live-System verfügbar machen # ------------------------------------------------------------
mkdir -p /etc/anaconda/profile.d # Installer-Launcher (nur Live-System)
cat >/etc/anaconda/profile.d/custom.conf <<'EOF' # ------------------------------------------------------------
[Profile] cat >/usr/share/applications/install-to-disk.desktop <<'EOF'
profile_id = custom [Desktop Entry]
os_id = custom Name=Install to Disk
efi_dir = fedora Comment=Install this system to your computer
menu_auto_hide = True Exec=anaconda --liveinst
Icon=system-installer
Terminal=false
Type=Application
Categories=System;
EOF EOF
# ------------------------------------------------------------
# Nur im Live-System behalten
# ------------------------------------------------------------
if ! grep -q 'boot=live' /proc/cmdline; then
rm -f /usr/share/applications/install-to-disk.desktop
fi