Tune main for Framework 13 AMD and harden update flow
- Add kernel args, sysctl, NetworkManager/WirePlumber and boltd tuning - Keep NVMe APST at the kernel default - Skip systemd-remount-fs on ostree/bootc - Harden flatpak first-boot install with timeout and verification - Harden bootc update notification (DNS wait, retries, per-user timeouts) - Add locale/network/btrfs presets and tolerant switch to the ISO kickstart
This commit is contained in:
1 parent
e44b7dfeff
commit
a898e381d6
14 files changed
+398
-332
No files matched your search
+34
-5
@@ -1,15 +1,43 @@
|
||||
# ISO configuration for a bootc-based installer ISO
|
||||
|
||||
# --- Kickstart: post-install bootc switch ---
|
||||
# --- Kickstart: Sprache/Netz/Partitionierung + post-install bootc switch ---
|
||||
# HINWEIS: lang/keyboard laesst Anaconda u.a. /etc/vconsole.conf schreiben
|
||||
# (deutsche TTYs). Die :stable-Referenz unten ist fest eingebettet; fuer
|
||||
# Test-ISOs mit anderem Tag diese Zeile vor dem Build manuell anpassen.
|
||||
[customizations.installer.kickstart]
|
||||
contents = """
|
||||
%post
|
||||
# Switch to the custom bootc image after installation
|
||||
bootc switch --mutate-in-place --transport registry humocs-man.duckdns.org/humocs-man/fluffy-pancake:stable
|
||||
# --- Sprache / Tastatur / Zeitzone (Vorauswahl, Localization-Modul aktiv) ---
|
||||
lang de_DE.UTF-8
|
||||
keyboard --vckeymap=de --xlayouts='de'
|
||||
timezone Europe/Berlin --utc
|
||||
# --- Netzwerk (frueh aktivieren: %post bootc switch braucht Registry-Zugriff) ---
|
||||
network --bootproto=dhcp --device=link --activate --hostname=fluffy-pancake
|
||||
# --- Bootloader ---
|
||||
bootloader --location=mbr
|
||||
# --- Automatische Partitionierung (bootc-Rezept, passt zu --rootfs=btrfs) ---
|
||||
# zerombr + clearpart: leere/gebrauchte Platten deterministisch zuruecksetzen,
|
||||
# sonst bricht Anaconda auf wiederverwendeten Disks ab.
|
||||
# autopart --type=btrfs: legt /boot + EFI + Btrfs-Root selbst an und
|
||||
# schliesst LVM aus (LVM duerfen bootc-Deployments NICHT verwenden).
|
||||
# HINWEIS: reqpart darf NICHT daneben stehen, Anaconda beendet sich sonst
|
||||
# mit "autopart and reqpart can't be used at the same time".
|
||||
zerombr
|
||||
clearpart --all --initlabel --disklabel=gpt
|
||||
autopart --type=btrfs
|
||||
%post --log=/root/anaconda-post.log
|
||||
# Switch to the custom bootc image after installation.
|
||||
# Absichtlich tolerant (|| true): Das Container-Deployment ist zu diesem
|
||||
# Zeitpunkt bereits erfolgt. Ohne Netz/Auth (privates Registry, Offline-
|
||||
# Test) darf ein fehlender Switch die Installation NICHT abbrechen.
|
||||
bootc switch --mutate-in-place --transport registry humocs-man.duckdns.org/humocs-man/fluffy-pancake:stable || echo "WARN: bootc switch fehlgeschlagen, installiertes Image bleibt aktiv"
|
||||
%end
|
||||
"""
|
||||
|
||||
# --- Anaconda installer modules ---
|
||||
# Localization ist bewusst dabei: Nur mit diesem Modul zeigt der Installer
|
||||
# den Sprachen-/Tastatur-Dialog und schreibt /etc/locale.conf + vconsole.
|
||||
# Ohne es faellt das System auf C.UTF-8 zurueck (kein Deutsch in Apps).
|
||||
# Die Kickstart-Werte oben (de_DE, de) dienen als Vorauswahl.
|
||||
[customizations.installer.modules]
|
||||
enable = [
|
||||
"org.fedoraproject.Anaconda.Modules.Storage",
|
||||
@@ -18,7 +46,8 @@ enable = [
|
||||
"org.fedoraproject.Anaconda.Modules.Security",
|
||||
"org.fedoraproject.Anaconda.Modules.Services",
|
||||
"org.fedoraproject.Anaconda.Modules.Users",
|
||||
"org.fedoraproject.Anaconda.Modules.Timezone"
|
||||
"org.fedoraproject.Anaconda.Modules.Timezone",
|
||||
"org.fedoraproject.Anaconda.Modules.Localization"
|
||||
]
|
||||
|
||||
disable = [
|
||||
|
||||
Reference in new issue
Block a user